Home TypeModel Class
TypeModel Class
Cancel

TypeModel Class

Namespace: Json.Schema.CodeGeneration.Model

Inheritance: TypeModel 🡒 object

Implemented interfaces:

  • IEquatable<TypeModel>

Base class for modeling a type.

Properties

NameTypeSummary
NamestringGets the name of the type. Provided by the title keyword.

Methods

Equals(TypeModel other)

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

Declaration

1
public virtual bool Equals(TypeModel other)
ParameterTypeDescription
otherTypeModelAn object to compare with this object.

Returns

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

Equals(object obj)

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

Declaration

1
public override bool Equals(object obj)
ParameterTypeDescription
objobjectThe object to compare with the current object.

Returns

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

GetHashCode()

Serves as the default hash function.

Declaration

1
public override int GetHashCode()

Returns

A hash code for the current object.

Contents