Table of Contents

Class TypeExtensions

Namespace
NMF.Models.Meta
Assembly
NMF.Models.dll

Denotes common extensions to types

public static class TypeExtensions
Inheritance
TypeExtensions
Inherited Members

Methods

Parse(IType, string)

Parses the given textual representation into an object

public static object Parse(this IType type, string input)

Parameters

type IType

The type of the data

input string

The actual inputs

Returns

object

A deserialized object

Serialize(IType, object)

Serializes the given value of the provided type into a string

public static string Serialize(this IType type, object value)

Parameters

type IType

The model type of the object

value object

The value

Returns

string

A string representation