Skip to main content
.NET 6.0+

ContextIdentifiers Members

Identifies Validation Contexts.

Constructors

Name Description
ContextIdentifiers(IList<String>) Creates an instance of the ContextIdentifiers class.
ContextIdentifiers(String) Creates an instance of the ContextIdentifiers class.

Fields

Name Description
Separator A string used to separate validation contexts in the return value of the ContextIdentifiers.ToString method.

Properties

Name Description
Count Specifies the number of the validation contexts identified by the current ContextIdentifiers.
Item[Int32] Provides access to the validation context identified by the current ContextIdentifiers, with a specified index.

Methods

Name Description
Contains(String) Indicates whether the current ContextIdentifiers identifies a particular validation context.
Equals(ContextIdentifiers) Checks whether the current ContextIdentifiers is equal to the specified object of the same type.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Checks whether the specified object is equal to the current ContextIdentifiers.
GetHashCode() Serves as a hash function for the ContextIdentifiers.
GetType() Gets the Type of the current instance. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string representation of the ContextIdentifiers.
See Also