void Construct(SignalManager manager, SignalSettingsOld settings, BindInfo bindInfo)
        {
            _manager = manager;

            SignalId = new BindingId(this.GetType(), bindInfo.Identifier);
            Settings = settings;
        }
Example #2
0
 public InstanceMethodSignalHandler(
     BindingId signalId, SignalManager manager, InjectContext lookupContext,
     Func <THandler, Action> methodGetter)
     : base(signalId, manager, lookupContext)
 {
     _methodGetter = methodGetter;
 }
Example #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;
 }
Example #6
0
        public InstanceMethodSignalHandlerBase(
            BindingId signalId, SignalManager manager,
            InjectContext lookupContext)
            : base(signalId, manager)
        {
            Assert.IsEqual(lookupContext.MemberType, typeof(THandler));

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