Class JClothingType
A data type for an article of clothing, dress, or attire.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JClothingType : IEquatable<JClothingType>Properties
Category
A kind of clothing. NIEM reference is j:ClothingCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<NcTextType> | A kind of clothing. NIEM reference is j:ClothingCategoryText | 
Color
A color of an article of clothing. NIEM reference is j:ClothingColorText
Declaration
[DataMember(Name = "color")]
public List<NcTextType> Color { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<NcTextType> | A color of an article of clothing. NIEM reference is j:ClothingColorText | 
Context
jClothingType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JClothingType.ContextEnum? Context { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Nullable<JClothingType.ContextEnum> | jClothingType JSON-LD context | 
Description
A description of an article of clothing. NIEM reference is j:ClothingDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<NcTextType> | A description of an article of clothing. NIEM reference is j:ClothingDescriptionText | 
Style
A style of an article of clothing. NIEM reference is j:ClothingStyleText
Declaration
[DataMember(Name = "style")]
public List<NcTextType> Style { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<NcTextType> | A style of an article of clothing. NIEM reference is j:ClothingStyleText | 
Methods
Equals(JClothingType)
Returns true if JClothingType instances are equal
Declaration
public bool Equals(JClothingType other)Parameters
| Type | Name | Description | 
|---|---|---|
| JClothingType | other | Instance of JClothingType to be compared | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | Boolean | 
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | obj | Object to be compared | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | Boolean | 
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()Returns
| Type | Description | 
|---|---|
| System.Int32 | Hash code | 
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()Returns
| Type | Description | 
|---|---|
| System.String | JSON string presentation of the object | 
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| System.String | String presentation of the object | 
Overrides
Operators
Equality(JClothingType, JClothingType)
Declaration
public static bool operator ==(JClothingType left, JClothingType right)Parameters
| Type | Name | Description | 
|---|---|---|
| JClothingType | left | |
| JClothingType | right | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Inequality(JClothingType, JClothingType)
Declaration
public static bool operator !=(JClothingType left, JClothingType right)Parameters
| Type | Name | Description | 
|---|---|---|
| JClothingType | left | |
| JClothingType | right | 
Returns
| Type | Description | 
|---|---|
| System.Boolean |