Class IdKeywordDraft04
Defines the id
JSON Schema keyword for draft-04.
Implements
System.IEquatable<IJsonSchemaKeyword>
System.IEquatable<IdKeyword>
System.IEquatable<IdKeywordDraft04>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Manatee.Json.Schema
Assembly: Manatee.Json.dll
Syntax
public class IdKeywordDraft04 : IdKeyword, IJsonSchemaKeyword, IJsonSerializable, IEquatable<IJsonSchemaKeyword>, IEquatable<IdKeyword>, IEquatable<IdKeywordDraft04>
Constructors
| Improve this Doc View SourceIdKeywordDraft04()
Used for deserialization.
Declaration
public IdKeywordDraft04()
IdKeywordDraft04(String)
Creates an instance of the IdKeywordDraft04.
Declaration
public IdKeywordDraft04(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Properties
| Improve this Doc View SourceName
Gets the name of the keyword.
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceSupportedVersions
Gets the versions (drafts) of JSON Schema which support this keyword.
Declaration
public override JsonSchemaVersion SupportedVersions { get; }
Property Value
Type | Description |
---|---|
JsonSchemaVersion |
Overrides
| Improve this Doc View SourceVocabulary
Gets the vocabulary that defines this keyword.
Declaration
public override SchemaVocabulary Vocabulary { get; }
Property Value
Type | Description |
---|---|
SchemaVocabulary |
Overrides
Methods
| Improve this Doc View SourceEquals(Nullable<IdKeywordDraft04>)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(IdKeywordDraft04? other)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<IdKeywordDraft04> | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current object is equal to the |
Equals(Nullable<Object>)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Object> | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified object is equal to the current object; otherwise, false. |
Overrides
| Improve this Doc View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current object. |
Overrides
Implements
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>