Пример #1
0
        public void IpCanBeChangedByUserToSpecifyACustomValue()
        {
            var context = new InternalContext(new Dictionary <string, string>());

            context.SdkVersion = "0.0.11.00.1";
            Assert.Equal("0.0.11.00.1", context.SdkVersion);
        }
Пример #2
0
        public void IpCanBeChangedByUserToSpecifyACustomValue()
        {
            var context = new InternalContext();

            context.SdkVersion = "0.0.11.00.1";
            Assert.AreEqual("0.0.11.00.1", context.SdkVersion);
        }
Пример #3
0
        public void SdkVersionIsNullByDefaultToAvoidSendingItToEndpointUnnecessarily()
        {
            var context = new InternalContext();

            Assert.IsNull(context.SdkVersion);
        }
 public void IpCanBeChangedByUserToSpecifyACustomValue()
 {
     var context = new InternalContext(new Dictionary<string, string>());
     context.SdkVersion = "0.0.11.00.1";
     Assert.Equal("0.0.11.00.1", context.SdkVersion);
 }
 public void SdkVersionIsNullByDefaultToAvoidSendingItToEndpointUnnecessarily()
 {
     var context = new InternalContext(new Dictionary<string, string>());
     Assert.Null(context.SdkVersion);
 }
Пример #6
0
        public void SdkVersionIsNullByDefaultToAvoidSendingItToEndpointUnnecessarily()
        {
            var context = new InternalContext(new Dictionary <string, string>());

            Assert.Null(context.SdkVersion);
        }
Пример #7
0
 internal void CopyTo(InternalContext target)
 {
     Tags.CopyTagValue(this.SdkVersion, ref target.sdkVersion);
     Tags.CopyTagValue(this.AgentVersion, ref target.agentVersion);
     Tags.CopyTagValue(this.NodeName, ref target.nodeName);
 }