public static string GetAppName(this ICircuitContext context)
 {
     return(context.Get <string>(KeyAppName));
 }
 public static string GetServiceName(this ICircuitContext context)
 {
     return(context.Get <string>(KeyServiceName));
 }
        public static T Get <T>(this ICircuitContext context, string name)
        {
            var result = context.Get(name);

            return(result == null ? default(T) : (T)result);
        }