Home
last modified time | relevance | path

Searched refs:propagationToken (Results 1 – 3 of 3) sorted by relevance

/third_party/grpc/src/csharp/Grpc.Core.Api/
DCallOptions.cs35 ContextPropagationToken propagationToken; field
49 …WriteOptions writeOptions = null, ContextPropagationToken propagationToken = null, CallCredentials… in CallOptions()
55 this.propagationToken = propagationToken; in CallOptions()
103 get { return this.propagationToken; }
185 public CallOptions WithPropagationToken(ContextPropagationToken propagationToken) in WithPropagationToken()
188 newOptions.propagationToken = propagationToken; in WithPropagationToken()
/third_party/grpc/src/csharp/Grpc.Core.Tests/
DContextPropagationTest.cs74 var propagationToken = context.CreatePropagationToken(); in PropagateCancellation()
75 Assert.IsNotNull(propagationToken.AsImplOrNull().ParentCall); in PropagateCancellation()
77 var callOptions = new CallOptions(propagationToken: propagationToken); in PropagateCancellation()
123 propagationToken: context.CreatePropagationToken())), ""); in PropagateDeadline()
126 … var callOptions = new CallOptions(propagationToken: context.CreatePropagationToken()); in PropagateDeadline()
148 …var callOptions = new CallOptions(propagationToken: context.CreatePropagationToken(new ContextProp… in SuppressDeadlinePropagation()
172 … var callOptions = new CallOptions(propagationToken: new ForeignContextPropagationToken()); in ForeignPropagationTokenIsIgnored()
DCallOptionsTest.cs48 …var propagationToken = new ContextPropagationTokenImpl(CallSafeHandle.NullInstance, DateTime.UtcNo… in WithMethods()
50 … Assert.AreSame(propagationToken, options.WithPropagationToken(propagationToken).PropagationToken); in WithMethods()
77 …Assert.AreEqual(deadline, new CallOptions(propagationToken: propagationToken1).Normalize().Deadlin… in Normalize()
78 …ypeof(ArgumentException), () => new CallOptions(deadline: deadline, propagationToken: propagationT… in Normalize()
83 …Assert.AreEqual(token, new CallOptions(propagationToken: propagationToken2).Normalize().Cancellati… in Normalize()
84 …ArgumentException), () => new CallOptions(cancellationToken: token, propagationToken: propagationT… in Normalize()