Show / Hide Table of Contents

Class TypeExtensions

Denotes common extensions to types

Inheritance
object
TypeExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Models.Meta
Assembly: NMF.Models.dll
Syntax
public static class TypeExtensions

Methods

| Edit this page View Source

Parse(IType, string)

Parses the given textual representation into an object

Declaration
public static object Parse(this IType type, string input)
Parameters
Type Name Description
IType type

The type of the data

string input

The actual inputs

Returns
Type Description
object

A deserialized object

| Edit this page View Source

Serialize(IType, object)

Serializes the given value of the provided type into a string

Declaration
public static string Serialize(this IType type, object value)
Parameters
Type Name Description
IType type

The model type of the object

object value

The value

Returns
Type Description
string

A string representation

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX