Class NameTypePair
Implements container for name and type.
Inheritance
System.Object
NameTypePair
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|---|
System.String | name | The name. |
System.Type | type | The type. |
Properties
View SourceName
Gets or sets the name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets or sets the type.
Declaration
public Type Type { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()