Class PrivateCreator

Class PrivateCreator

Namespace: Aspose.Medical.Dicom.Tags
Assembly: Aspose.Medical.dll (25.11.0)

Allows to reserve the block of Private Data Elements and identify private data elements. https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_7.8.html#sect_7.8.1 .

public sealed class PrivateCreator : IEquatable<privatecreator>, IComparable<privatecreator>

Inheritance

object PrivateCreator

Implements

IEquatable<privatecreator> , IComparable<privatecreator>

Inherited Members

object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

PrivateCreator(string)

Initialize a new instance of the Aspose.Medical.Dicom.Tags.PrivateCreator with the given creator.

public PrivateCreator(string creator)

Parameters

creator string

A System.String representation of private creator.

Exceptions

ArgumentException

creator cannot be null or whitespace.

Properties

Creator

A string representation of the Private Creator. Read-only System.String.

public string Creator { get; }

Property Value

string

Methods

CompareTo(PrivateCreator?)

public int CompareTo(PrivateCreator? other)

Parameters

other PrivateCreator ?

Returns

int

Equals(PrivateCreator?)

public bool Equals(PrivateCreator? other)

Parameters

other PrivateCreator ?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object ?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(PrivateCreator?, PrivateCreator?)

Checks whether two Aspose.Medical.Dicom.Tags.PrivateCreator objects are equal.

public static bool operator ==(PrivateCreator? left, PrivateCreator? right)

Parameters

left PrivateCreator ?

The left hand Aspose.Medical.Dicom.Tags.PrivateCreator operand.

right PrivateCreator ?

The right hand Aspose.Medical.Dicom.Tags.PrivateCreator operand.

Returns

bool

true if the left parameter is equal to the right parameter; otherwise, false.

implicit operator string(PrivateCreator)

Converts the Aspose.Medical.Dicom.Tags.PrivateCreator to System.String.

public static implicit operator string(PrivateCreator creator)

Parameters

creator PrivateCreator

A private creator to be converted.

Returns

string

The System.String reprenentation of the private creator.

operator !=(PrivateCreator?, PrivateCreator?)

Checks whether two Aspose.Medical.Dicom.Tags.PrivateCreator objects are not equal.

public static bool operator !=(PrivateCreator? left, PrivateCreator? right)

Parameters

left PrivateCreator ?

The left hand Aspose.Medical.Dicom.Tags.PrivateCreator operand.

right PrivateCreator ?

The right hand Aspose.Medical.Dicom.Tags.PrivateCreator operand.

Returns

bool

true if the left parameter is not equal to the right parameter; otherwise, false. </privatecreator></privatecreator>