public GetCustomContextCompiler() { _contextData = typeof(IHasContextData) .GetTypeInfo().GetDeclaredProperty( nameof(IResolverContext.ContextData)); _scopedContextData = ContextTypeInfo.GetDeclaredProperty( nameof(IResolverContext.ScopedContextData)); }
public CustomContextCompilerBase() { ContextData = typeof(IHasContextData) .GetTypeInfo().GetDeclaredProperty( nameof(IResolverContext.ContextData)); ScopedContextData = ContextTypeInfo.GetDeclaredProperty( nameof(IResolverContext.ScopedContextData)); LocalContextData = ContextTypeInfo.GetDeclaredProperty( nameof(IResolverContext.LocalContextData)); }
public GetCancellationTokenCompiler() { _requestAborted = ContextTypeInfo.GetDeclaredProperty( nameof(IResolverContext.RequestAborted)); }