Encapsulates information about an operation. Operation normally reflects an end to end scenario that starts from a user action (e.g. button click).
Inheritance: IJsonSerializable
 public void SyntheticSourceCanBeChangedByUserToSupplyApplicationDefinedValue()
 {
     var operation = new OperationContext(new Dictionary<string, string>());
     operation.SyntheticSource = "Sample";
     Assert.Equal("Sample", operation.SyntheticSource);
 }
 public void IdCanBeChangedByUserToSupplyApplicationDefinedValue()
 {
     var operation = new OperationContext(new Dictionary<string, string>());
     operation.Id = "42";
     Assert.Equal("42", operation.Id);
 }
 public void NameCanBeChangedByUserToSupplyApplicationDefinedValue()
 {
     var operation = new OperationContext(new Dictionary<string, string>());
     operation.Name = "SampleOperationName";
     Assert.Equal("SampleOperationName", operation.Name);
 }
 public void SyntheticSourceIsNullByDefaultToAvoidSendingItToEndpointUnnecessarily()
 {
     var operation = new OperationContext(new Dictionary<string, string>());
     Assert.Null(operation.SyntheticSource);
 }