Show / Hide Table of Contents

Class Token<TToken>

Represents an abstract class for objects that are used as identification tokens.

Inheritance
object
Token<TToken>
SubscriptionToken
Implements
IEquatable<TToken>
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Notification
Assembly: Sartorius.SAF.dll
Syntax
public abstract class Token<TToken> : IEquatable<TToken> where TToken : Token<TToken>
Type Parameters
Name Description
TToken

The Token Type which represents a more specific identification type.

Constructors

View Source

Token()

Initializes a new instance of the Token.

Declaration
protected Token()

Methods

View Source

Equals(Token<TToken>)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(Token<TToken> other)
Parameters
Type Name Description
Token<TToken> other

An object to compare with this object.

Returns
Type Description
bool

true if the current object is equal to the other parameter; otherwise, false.

View Source

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to compare with the current object.

Returns
Type Description
bool

true if the specified object is equal to the current object; otherwise, false.

Overrides
object.Equals(object)
Exceptions
Type Condition
NullReferenceException

The obj parameter is null.

View Source

Equals(TToken)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(TToken other)
Parameters
Type Name Description
TToken other

An object to compare with this object.

Returns
Type Description
bool

true if the current object is equal to the other parameter; otherwise, false.

View Source

GetHashCode()

Serves as a hash function for a particular type.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A hash code for the current object.

Overrides
object.GetHashCode()

Implements

IEquatable<T>

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX