C# Class BaseVectorOfUnionTypeModel, FlatSharp

Defines a vector of union type model.
Inheritance: RuntimeTypeModel
Mostra file Open project: jamescourtney/FlatSharp

Public Methods

Method Description
CreateCloneMethodBody ( CloneCodeGenContext, context ) : CodeGeneratedMethod
CreateGetMaxSizeMethodBody ( GetMaxSizeCodeGenContext context ) : CodeGeneratedMethod
CreateSerializeMethodBody ( SerializationCodeGenContext context ) : CodeGeneratedMethod
Initialize ( ) : void
OnInitialize ( ) : Type,

Returns the type of union.

TryGetUnderlyingVectorType ( ITypeModel? &typeModel ) : bool

Protected Methods

Method Description
Indexer ( string index ) : string

Private Methods

Method Description
BaseVectorOfUnionTypeModel ( Type, vectorType, TypeModelContainer, provider ) : System.Collections.Immutable

Method Details

CreateCloneMethodBody() public method

public CreateCloneMethodBody ( CloneCodeGenContext, context ) : CodeGeneratedMethod
context CloneCodeGenContext,
return CodeGeneratedMethod

CreateGetMaxSizeMethodBody() public method

public CreateGetMaxSizeMethodBody ( GetMaxSizeCodeGenContext context ) : CodeGeneratedMethod
context GetMaxSizeCodeGenContext
return CodeGeneratedMethod

CreateSerializeMethodBody() public method

public CreateSerializeMethodBody ( SerializationCodeGenContext context ) : CodeGeneratedMethod
context SerializationCodeGenContext
return CodeGeneratedMethod

Indexer() protected method

protected Indexer ( string index ) : string
index string
return string

Initialize() public final method

public final Initialize ( ) : void
return void

OnInitialize() public abstract method

Returns the type of union.
public abstract OnInitialize ( ) : Type,
return Type,

TryGetUnderlyingVectorType() public method

public TryGetUnderlyingVectorType ( ITypeModel? &typeModel ) : bool
typeModel ITypeModel?
return bool