Class AdHocTokens
Local class to support deserializing the token name list.
Implements
Inherited Members
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure.Token
Assembly: Aruba.Infrastructure.dll
Syntax
public class AdHocTokens : IEquatable<AdHocTokens>
Constructors
View SourceAdHocTokens()
Initializes a new instance of the AdHocTokens class.
Declaration
public AdHocTokens()
AdHocTokens(List<AdHocToken>)
Initializes a new instance of the AdHocTokens class.
Declaration
public AdHocTokens(List<AdHocToken> tokens)
Parameters
Type | Name | Description |
---|---|---|
List<AdHocToken> | tokens | The list of AdHocToken objects. |
Properties
View SourceTokens
Gets the list of adhoc tokens.
Declaration
public List<AdHocToken> Tokens { get; }
Property Value
Type | Description |
---|---|
List<AdHocToken> |
Methods
View SourceEquals(AdHocTokens)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(AdHocTokens other)
Parameters
Type | Name | Description |
---|---|---|
AdHocTokens | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
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
View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |