public CustomEffectFactory(CustomEffectFactoryDelegate factory, Type customEffectType) { this.customEffectType = customEffectType; // Gets the guid of this class Guid = Utilities.GetGuidFromType(customEffectType); unsafe { Factory = factory; callback = new CreateCustomEffectDelegate(CreateCustomEffectImpl); NativePointer = Marshal.GetFunctionPointerForDelegate(callback); } InitializeBindings(); InitializeXml(); }
public CustomEffectFactory(CustomEffectFactoryDelegate factory, Type customEffectType, Guid effectId) { this.customEffectType = customEffectType; // Gets the guid of this class Guid = effectId; unsafe { Factory = factory; callback = new CreateCustomEffectDelegate(CreateCustomEffectImpl); NativePointer = Marshal.GetFunctionPointerForDelegate(callback); } InitializeBindings(); InitializeXml(); }
public CustomEffectFactory(CustomEffectFactoryDelegate factory, Type customEffectType) : this(factory, customEffectType, Utilities.GetGuidFromType(customEffectType)) { }
public CustomEffectFactory(CustomEffectFactoryDelegate factory, Type customEffectType) : this (factory, customEffectType, Utilities.GetGuidFromType(customEffectType)) { }