public void ProcessGatewayRequest(IContext context, IRegisteredComponent component) { BaseBarcode b = BarcodeFactory.GetBarcode(Symbology.EAN128); b.Number = _number; WriteBarcodeImageToStream(b); }
internal static void _UnregisterType(IRegisteredComponent component, Type type) { if (_GetInstanceContainer(type).Remove(component)) { return; } Debug.LogError("RegisteredComponentController error: Tried to unregister unknown instance"); }
private static void _RegisterType(IRegisteredComponent component, Type type) { if (_GetInstanceContainer(type).Add(component)) { return; } Debug.LogError("RegisteredComponentController error: Tried to register same instance twice"); }
static internal void _UnregisterType(IRegisteredComponent component, Type type) { InstanceContainer container = _GetInstanceContainer(type); if (!container.Remove(component)) { CustomDebug.LogError("RegisteredComponentController error: Tried to unregister unknown instance"); } }
static private void _RegisterType(IRegisteredComponent component, Type type) { InstanceContainer container = _GetInstanceContainer(type); if (!container.Add(component)) { CustomDebug.LogError("RegisteredComponentController error: Tried to register same instance twice"); } }
static internal void _UnregisterType( IRegisteredComponent component, Type type ) { InstanceContainer container = _GetInstanceContainer( type ); if ( !container.Remove( component ) ) { Debug.LogError( "RegisteredComponentController error: Tried to unregister unknown instance" ); } //Debug.Log( "Unregistered " + type.Name + ": " + component.gameObject.name ); }
static private void _RegisterType( IRegisteredComponent component, Type type ) { InstanceContainer container = _GetInstanceContainer( type ); if ( !container.Add( component ) ) { Debug.LogError( "RegisteredComponentController error: Tried to register same instance twice" ); } //Debug.Log( "Registered " + type.Name + ": " + component.gameObject.name ); }
internal static void _Register(IRegisteredComponent component) { var type = component.GetType(); do { _RegisterType(component, type); type = type.BaseType; } while(type != component.GetRegisteredComponentBaseClassType()); }
static internal void _Register(IRegisteredComponent component) { Type type = component.GetType(); #if REDUCED_REFLECTION _RegisterType(component, type); // BaseType not supported by Flash - so only top level class is registered!! #else do { _RegisterType(component, type); type = type.BaseType; } while (type != component.GetRegisteredComponentBaseClassType()); #endif }
static internal void _Register(IRegisteredComponent component) { Type type = component.GetType(); #if UNITY_FLASH _RegisterType(component, type); // BaseType not supported by Flash - so only top level class is registered!! #else do { _RegisterType(component, type); type = type.BaseType; } while (type != component.GetRegisteredComponentBaseClassType()); #endif //Debug.Log( "Registered " + component.GetType().Name + ": " + component.gameObject.name ); }
static internal void _Unregister(IRegisteredComponent component) { Type type = component.GetType(); #if REDUCED_REFLECTION _UnregisterType(component, type); // BaseType not supported by Flash !! #else do { _UnregisterType(component, type); type = type.BaseType; } while (type != component.GetRegisteredComponentBaseClassType()); #endif //Debug.Log( "Unregistered " + component.GetType().Name + ": " + component.gameObject.name ); }