Ejemplo n.º 1
0
        void Construct(SignalManager manager, SignalSettingsOld settings, BindInfo bindInfo)
        {
            _manager = manager;

            SignalId = new BindingId(this.GetType(), bindInfo.Identifier);
            Settings = settings;
        }
Ejemplo n.º 2
0
 public InstanceMethodSignalHandler(
     BindingId signalId, SignalManager manager, InjectContext lookupContext,
     Func <THandler, Action> methodGetter)
     : base(signalId, manager, lookupContext)
 {
     _methodGetter = methodGetter;
 }
Ejemplo n.º 3
0
 public StaticMethodWithInstanceSignalHandler(
     BindingId signalId, SignalManager manager, InjectContext lookupContext,
     Action <THandler> method)
     : base(signalId, manager, lookupContext)
 {
     _method = method;
 }
 public InstanceMethodSignalHandler(
     BindingId signalId, SignalManager manager, Lazy <THandler> handler,
     Func <THandler, Action> methodGetter)
     : base(signalId, manager, handler)
 {
     _methodGetter = methodGetter;
 }
 public InstanceMethodSignalHandlerBase(
     BindingId signalId, SignalManager manager,
     Lazy <THandler> handler)
     : base(signalId, manager)
 {
     _handler = handler;
 }
Ejemplo n.º 6
0
        public InstanceMethodSignalHandlerBase(
            BindingId signalId, SignalManager manager,
            InjectContext lookupContext)
            : base(signalId, manager)
        {
            Assert.IsEqual(lookupContext.MemberType, typeof(THandler));

            _lookupContext = lookupContext;
        }
Ejemplo n.º 7
0
 public StaticMethodSignalHandler(
     BindingId signalId, SignalManager manager, Action method)
     : base(signalId, manager)
 {
     _method = method;
 }
Ejemplo n.º 8
0
 public SignalHandlerBase(
     BindingId signalId, SignalManager manager)
 {
     _manager  = manager;
     _signalId = signalId;
 }