/// <summary> /// Run the call. /// </summary> public static CreateSessionResult <ICacheSession> Run( CacheTracer tracer, Context context, string name, Func <CreateSessionResult <ICacheSession> > func) { using (var call = new CreateSessionCall(tracer, context, name)) { return(call.Run(func)); } }
/// <summary> /// Initializes a new instance of the <see cref="CreateSessionCall"/> class. /// </summary> private CreateSessionCall(CacheTracer tracer, Context context, string name) : base(tracer, context) { Tracer.CreateSessionStart(context, name); }