Class NameTypePair
Implements container for name and type.
Namespace: Sartorius.SAF.Serialization
Assembly: Sartorius.SAF.dll
Syntax
public class NameTypePair
Constructors
View SourceNameTypePair(string, Type)
Create and initialize a new instance of NameTypePair class.
Declaration
public NameTypePair(string name, Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name. |
| Type | type | The type. |
Properties
View SourceName
Gets or sets the name.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Gets or sets the type.
Declaration
public Type Type { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Methods
View SourceEquals(object)
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
View SourceGetHashCode()
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int |