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 Name
Declaration
public NameTypePair(string name, Type type)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name. |
System. |
type | The type. |
Properties
View SourceName
Gets or sets the name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System. |
Type
Gets or sets the type.
Declaration
public Type Type { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj |
Returns
Type | Description |
---|---|
System. |
Overrides
System.Object.Equals(System.Object)
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Overrides
System.Object.GetHashCode()