コード例 #1
0
        void Construct(SignalManager manager, SignalSettings settings, BindInfo bindInfo)
        {
            _manager = manager;

            SignalId = new BindingId(this.GetType(), bindInfo.Identifier);
            Settings = settings;
        }
コード例 #2
0
 public InstanceMethodSignalHandler(
     BindingId signalId, SignalManager manager, InjectContext lookupContext,
     Func <THandler, Action> methodGetter)
     : base(signalId, manager, lookupContext)
 {
     _methodGetter = methodGetter;
 }
 public StaticMethodWithInstanceSignalHandler(
     BindingId signalId, SignalManager manager, InjectContext lookupContext,
     Action <THandler> method)
     : base(signalId, manager, lookupContext)
 {
     _method = method;
 }
コード例 #4
0
        public InstanceMethodSignalHandlerBase(
            BindingId signalId, SignalManager manager,
            InjectContext lookupContext)
            : base(signalId, manager)
        {
            Assert.IsEqual(lookupContext.MemberType, typeof(THandler));

            _lookupContext = lookupContext;
        }
コード例 #5
0
 public SignalHandlerBase(
     BindingId signalId, SignalManager manager)
 {
     _manager  = manager;
     _signalId = signalId;
 }
コード例 #6
0
 public StaticMethodSignalHandler(
     BindingId signalId, SignalManager manager, Action method)
     : base(signalId, manager)
 {
     _method = method;
 }