Show / Hide Table of Contents

Class TypedIdTriple

Represents a composite identifier consisting of an agency identifier, item identifier, item version, and item type.

Inheritance
Object
Tuple<IdentifierTriple, Guid>
TypedIdTriple
Implements
IStructuralEquatable
IStructuralComparable
IComparable
ITuple
Inherited Members
Tuple<IdentifierTriple, Guid>.Equals(Object)
Tuple<IdentifierTriple, Guid>.IStructuralEquatable.Equals(Object, IEqualityComparer)
Tuple<IdentifierTriple, Guid>.IComparable.CompareTo(Object)
Tuple<IdentifierTriple, Guid>.IStructuralComparable.CompareTo(Object, IComparer)
Tuple<IdentifierTriple, Guid>.GetHashCode()
Tuple<IdentifierTriple, Guid>.IStructuralEquatable.GetHashCode(IEqualityComparer)
Tuple<IdentifierTriple, Guid>.ToString()
System.Tuple<Algenta.Colectica.Model.Utility.IdentifierTriple, System.Guid>.System.Runtime.CompilerServices.ITuple.get_Item(System.Int32)
Tuple<IdentifierTriple, Guid>.Item1
Tuple<IdentifierTriple, Guid>.Item2
Tuple<IdentifierTriple, Guid>.ITuple.Length
Tuple<IdentifierTriple, Guid>.ITuple.Item[Int32]
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
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

true if the specified Object is equal to this instance; otherwise, false.

Overrides
System.Tuple<Algenta.Colectica.Model.Utility.IdentifierTriple, System.Guid>.Equals(System.Object)

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
System.Tuple<Algenta.Colectica.Model.Utility.IdentifierTriple, System.Guid>.GetHashCode()

ToString()

Returns a String that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
String

A String that represents this instance.

Overrides
System.Tuple<Algenta.Colectica.Model.Utility.IdentifierTriple, System.Guid>.ToString()

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.

Implements

System.Collections.IStructuralEquatable
System.Collections.IStructuralComparable
System.IComparable
System.Runtime.CompilerServices.ITuple

Extension Methods

Extensions.Yield<T>(T)
In This Article
Back to top Generated by DocFX