Пример #1
0
        static RedisInvoker()
        {
            Methods = new Dictionary <string, MethodInfo>();

            var contextType = redisContext.GetType();

            foreach (var item in contextType.GetMethods(BindingFlags.Instance | BindingFlags.Public | BindingFlags.DeclaredOnly))
            {
                Methods.Add(item.Name, item);
            }
        }