Show / Hide Table of Contents

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 Source

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

Name

Gets or sets the name.

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

Type

Gets or sets the type.

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

Methods

View Source

Equals(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()

Extension Methods

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