Show / Hide Table of Contents

Class NameTypePair

Implements container for name and type.

Inheritance
object
NameTypePair
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Serialization
Assembly: Sartorius.SAF.dll
Syntax
public class NameTypePair

Constructors

View Source

NameTypePair(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 Source

Name

Gets or sets the name.

Declaration
public string Name { get; }
Property Value
Type Description
string
View Source

Type

Gets or sets the type.

Declaration
public Type Type { get; }
Property Value
Type Description
Type

Methods

View Source

Equals(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
object.Equals(object)
View Source

GetHashCode()

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
Overrides
object.GetHashCode()

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX