nuget server logo nuget api documents
↑

API Docs / REnv / RCType

RCType

Full name SMRUCC.Rsharp.Runtime.Internal.Object.Converts.RCType Assembly REnv Members 7

01 Syntax

SMRUCC.Rsharp.Runtime.Internal.Object.Converts.RCType

02 Methods

NameOverloadsSummary
CTypeDynamic 1 If target type is Object, then this function will stop the narrowing conversion from vbObject wrapper to object type
castUnsure 1 Make ctype function cache at here based on the type assigned rule
GetCType 1
AddCType 1
CastToEnum 1
NADefault 1
IsNALiteralValue 1

03 Members

method CTypeDynamic #
CTypeDynamic(Object, Type, Environment)

If target type is Object, then this function will stop the narrowing conversion from vbObject wrapper to object type

Parameters
NameTypeDescription
objObject

-

typeType

Target data type to cast in R# runtime

Returns

an error Message will be returns if the conversion error happends

method castUnsure #
castUnsure(Object, Type, Type, Environment)

Make ctype function cache at here based on the type assigned rule

Parameters
NameTypeDescription
objObject

-

objTypeType

-

typeType

-

envEnvironment

-

method GetCType #
GetCType(Type, Type)
method AddCType #
AddCType(Type, Type, Func(Of Object, Object))
method CastToEnum #
CastToEnum(Object, Type, Environment)
method NADefault #
NADefault(RType)
method IsNALiteralValue #
IsNALiteralValue(Object)