Class NativeModuleWrapper<T>
Generic representation of a native Module, used to create the C# base class of a native module.
Inheritance
NativeModuleWrapper<T>
Assembly: Chartboost.Core.dll
Syntax
public abstract class NativeModuleWrapper<T> : Module where T : class
Type Parameters
Name |
Description |
T |
Module type.
|
Constructors
NativeModuleWrapper(params object[])
Declaration
protected NativeModuleWrapper(params object[] parameters)
Parameters
Type |
Name |
Description |
object[] |
parameters |
|
Properties
DefaultModuleId
Declaration
protected abstract string DefaultModuleId { get; }
Property Value
DefaultModuleVersion
Declaration
protected abstract string DefaultModuleVersion { get; }
Property Value
InstanceType
Declaration
public static Type InstanceType { get; set; }
Property Value
ModuleId
Declaration
public override string ModuleId { get; }
Property Value
Overrides
ModuleVersion
The version of the module.
Declaration
public override string ModuleVersion { get; }
Property Value
Overrides
Methods
Initialize(ModuleConfiguration)
The designated initializer for the module. Sets up the module to make it ready to be used.
Declaration
protected override Task<ChartboostCoreError?> Initialize(ModuleConfiguration configuration)
Parameters
Returns
Type |
Description |
Task<ChartboostCoreError?> |
An error should be passed if the initialization failed, whereas null should be passed if it succeeded.
|
Overrides
Extension Methods