C# Class Microsoft.CSharp.RuntimeBinder.Semantics.ConstValFactory

Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Copy ( ConstValKind kind, CONSTVAL value ) : CONSTVAL
Create ( decimal value ) : CONSTVAL
Create ( double value ) : CONSTVAL
Create ( float value ) : CONSTVAL
Create ( long value ) : CONSTVAL
Create ( string value ) : CONSTVAL
Create ( ulong value ) : CONSTVAL
GetBool ( bool value ) : CONSTVAL
GetDefaultValue ( ConstValKind kind ) : CONSTVAL
GetInt ( int value ) : CONSTVAL
GetNullRef ( ) : CONSTVAL
GetUInt ( uint value ) : CONSTVAL

Private Methods

Method Description
Create ( bool value ) : CONSTVAL
Create ( object p ) : CONSTVAL

Method Details

Copy() public method

public Copy ( ConstValKind kind, CONSTVAL value ) : CONSTVAL
kind ConstValKind
value CONSTVAL
return CONSTVAL

Create() public method

public Create ( decimal value ) : CONSTVAL
value decimal
return CONSTVAL

Create() public method

public Create ( double value ) : CONSTVAL
value double
return CONSTVAL

Create() public method

public Create ( float value ) : CONSTVAL
value float
return CONSTVAL

Create() public method

public Create ( long value ) : CONSTVAL
value long
return CONSTVAL

Create() public method

public Create ( string value ) : CONSTVAL
value string
return CONSTVAL

Create() public method

public Create ( ulong value ) : CONSTVAL
value ulong
return CONSTVAL

GetBool() public static method

public static GetBool ( bool value ) : CONSTVAL
value bool
return CONSTVAL

GetDefaultValue() public static method

public static GetDefaultValue ( ConstValKind kind ) : CONSTVAL
kind ConstValKind
return CONSTVAL

GetInt() public static method

public static GetInt ( int value ) : CONSTVAL
value int
return CONSTVAL

GetNullRef() public static method

public static GetNullRef ( ) : CONSTVAL
return CONSTVAL

GetUInt() public static method

public static GetUInt ( uint value ) : CONSTVAL
value uint
return CONSTVAL