Example #1
0
        public void Register(
            string methodId,
            Action <string, string> callback)
        {
            var method = Ssci.Register(methodId, callback);

            MethodIds.Add(method.Id);
        }
Example #2
0
        public void Register <T>(
            T value,
            Action <T, string> callback) where T : struct, Enum
        {
            var method = Ssci.Register(value, callback);

            MethodIds.Add(method.Id);
        }
Example #3
0
        public void Register(
            string methodId,
            Expression <Action> implementExpression)
        {
            var method = Ssci.Register(methodId, implementExpression);

            MethodIds.Add(method.Id);
        }
Example #4
0
        public void Register <TInterface, TDelegate>(
            Expression <Action <TInterface> > interfaceExpression,
            Expression <TDelegate> implementExpression)
            where TDelegate : Delegate
        {
            var method = Ssci.Register(interfaceExpression, implementExpression);

            MethodIds.Add(method.Id);
        }
Example #5
0
        public void Register <TDelegate>(
            string methodId,
            Expression <TDelegate> implementExpression)
            where TDelegate : Delegate
        {
            var method = Ssci.Register(methodId, implementExpression);

            MethodIds.Add(method.Id);
        }
Example #6
0
        public void Register <TInterface>(
            Expression <Action <TInterface> > interfaceExpression,
            Expression <Action> implementExpression)
            where TInterface : class
        {
            var method = Ssci.Register(interfaceExpression, implementExpression);

            MethodIds.Add(method.Id);
        }