Class TypedIdTriple
Represents a composite identifier consisting of an agency identifier, item identifier, item version, and item type.
Inherited Members
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
[Serializable]
[Obfuscation(Exclude = true)]
public sealed class TypedIdTriple : Tuple<IdentifierTriple, Guid>, IStructuralEquatable, IStructuralComparable, IComparable, ITupleInternal, ITuple
Constructors
TypedIdTriple(IdentifierTriple, Guid)
Initializes a new instance of the TypedIdTriple class.
Declaration
public TypedIdTriple(IdentifierTriple identifier, Guid itemType)
Parameters
| Type | Name | Description |
|---|---|---|
| IdentifierTriple | identifier | The identifier triple. |
| Guid | itemType | The type of the item. |
Properties
AgencyId
Gets the agency identifier of the item.
Declaration
[IgnoreDataMember]
public string AgencyId { get; }
Property Value
| Type | Description |
|---|---|
| String |
CompositeId
Gets the composite identifier triple of the item.
Declaration
[IgnoreDataMember]
public IdentifierTriple CompositeId { get; }
Property Value
| Type | Description |
|---|---|
| IdentifierTriple |
Identifier
Gets the identifier of the item.
Declaration
[IgnoreDataMember]
public Guid Identifier { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
ItemType
Gets the type of the item.
Declaration
[IgnoreDataMember]
public Guid ItemType { get; }
Property Value
| Type | Description |
|---|---|
| Guid | The type of the item. |
Version
Gets the version of the item.
Declaration
[IgnoreDataMember]
public long Version { get; }
Property Value
| Type | Description |
|---|---|
| Int64 |
Methods
Equals(Object)
Determines whether the specified Object, is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | obj | The Object to compare with this instance. |
Returns
| Type | Description |
|---|---|
| Boolean |
|
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| Int32 | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
ToString()
Returns a String that represents this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String | A String that represents this instance. |
Overrides
Operators
Equality(TypedIdTriple, TypedIdTriple)
Implements the operator ==.
Declaration
public static bool operator ==(TypedIdTriple a, TypedIdTriple b)
Parameters
| Type | Name | Description |
|---|---|---|
| TypedIdTriple | a | The left side. |
| TypedIdTriple | b | The right side. |
Returns
| Type | Description |
|---|---|
| Boolean | The result of the operator. |
Inequality(TypedIdTriple, TypedIdTriple)
Implements the operator !=.
Declaration
public static bool operator !=(TypedIdTriple a, TypedIdTriple b)
Parameters
| Type | Name | Description |
|---|---|---|
| TypedIdTriple | a | The left side. |
| TypedIdTriple | b | The right side. |
Returns
| Type | Description |
|---|---|
| Boolean | The result of the operator. |