C# Class Amazon.DynamoDBv2.DataModel.Utils

Show file Open project: scopely/aws-sdk-net

Public Methods

Method Description
CanInstantiate ( Type objectType ) : bool
GetAttribute ( MemberInfo targetMemberInfo ) : DynamoDBAttribute
GetAttribute ( Type targetType ) : DynamoDBAttribute
GetAttributes ( MemberInfo targetMemberInfo ) : DynamoDBAttribute[]
GetTableAttribute ( Type type ) : Amazon.DynamoDBv2.DataModel.DynamoDBTableAttribute
GetType ( MemberInfo member ) : Type
ImplementsInterface ( Type targetType, Type interfaceType ) : bool
Instantiate ( Type objectType ) : object
IsPrimitive ( Type type ) : bool
IsReadWrite ( MemberInfo member ) : bool
ToLowerCamelCase ( string value ) : string
ValidateVersionType ( Type memberType ) : void

Private Methods

Method Description
GetAttributeObjects ( MemberInfo targetMemberInfo ) : object[]
GetSingleDDBAttribute ( object attributes ) : DynamoDBAttribute

Method Details

CanInstantiate() public static method

public static CanInstantiate ( Type objectType ) : bool
objectType System.Type
return bool

GetAttribute() public static method

public static GetAttribute ( MemberInfo targetMemberInfo ) : DynamoDBAttribute
targetMemberInfo System.Reflection.MemberInfo
return DynamoDBAttribute

GetAttribute() public static method

public static GetAttribute ( Type targetType ) : DynamoDBAttribute
targetType System.Type
return DynamoDBAttribute

GetAttributes() public static method

public static GetAttributes ( MemberInfo targetMemberInfo ) : DynamoDBAttribute[]
targetMemberInfo System.Reflection.MemberInfo
return DynamoDBAttribute[]

GetTableAttribute() public static method

public static GetTableAttribute ( Type type ) : Amazon.DynamoDBv2.DataModel.DynamoDBTableAttribute
type System.Type
return Amazon.DynamoDBv2.DataModel.DynamoDBTableAttribute

GetType() public static method

public static GetType ( MemberInfo member ) : Type
member System.Reflection.MemberInfo
return System.Type

ImplementsInterface() public static method

public static ImplementsInterface ( Type targetType, Type interfaceType ) : bool
targetType System.Type
interfaceType System.Type
return bool

Instantiate() public static method

public static Instantiate ( Type objectType ) : object
objectType System.Type
return object

IsPrimitive() public static method

public static IsPrimitive ( Type type ) : bool
type System.Type
return bool

IsReadWrite() public static method

public static IsReadWrite ( MemberInfo member ) : bool
member System.Reflection.MemberInfo
return bool

ToLowerCamelCase() public static method

public static ToLowerCamelCase ( string value ) : string
value string
return string

ValidateVersionType() public static method

public static ValidateVersionType ( Type memberType ) : void
memberType System.Type
return void