C# Class Amanda.Client.Extensions

A collection of extensions methods used in the BuisnesLogic namespace
Exibir arquivo Open project: MichaelAz/Amanda

Public Methods

Method Description
Default ( this t ) : dynamic

Returns the default value for a type, much like the default keyword

IsBasic ( this t ) : bool

Checks whether a type is a "basic" type as per the C# specification or a nullable version thereof

ToExpando ( object>.this dict ) : System.Dynamic.ExpandoObject

Method Details

Default() public static method

Returns the default value for a type, much like the default keyword
public static Default ( this t ) : dynamic
t this The type to get a default value for
return dynamic

IsBasic() public static method

Checks whether a type is a "basic" type as per the C# specification or a nullable version thereof
public static IsBasic ( this t ) : bool
t this The type to check
return bool

ToExpando() public static method

public static ToExpando ( object>.this dict ) : System.Dynamic.ExpandoObject
dict object>.this
return System.Dynamic.ExpandoObject