public void Specially(
            ConsoleApplication1.Loggers.Special special)
        {
            Sample.Current.Specially(
                _actorId,
                _processId,
                _machineName,
                special
                );

            System.Diagnostics.Debug.WriteLine($"[Console] ERR: Specially");

            System.Diagnostics.Debug.WriteLine($"\t_actorId.ToString():\t{_actorId.ToString()}");
            System.Diagnostics.Debug.WriteLine($"\t_actorId.Kind.ToString():\t{_actorId.Kind.ToString()}");
            System.Diagnostics.Debug.WriteLine($"\t_processId:\t{_processId}");
            System.Diagnostics.Debug.WriteLine($"\tEnvironment.MachineName:\t{Environment.MachineName}");
            System.Diagnostics.Debug.WriteLine($"\tspecial.ToString():\t{special.ToString()}");
            _telemetryClient.TrackEvent(
                nameof(Specially),
                new System.Collections.Generic.Dictionary <string, string>()
            {
                { "ActorId", _actorId.ToString() },
                { "ActorIdType", _actorId.Kind.ToString() },
                { "ProcessId", _processId.ToString() },
                { "MachineName", Environment.MachineName },
                { "Special", special.ToString() }
            });
        }
コード例 #2
0
        public void Specially(
            ConsoleApplication1.Loggers.Special special)
        {
            Sample.Current.Specially(
                special
                );

            System.Diagnostics.Debug.WriteLine($"[Console] ERR: Specially");

            System.Diagnostics.Debug.WriteLine($"\tspecial.ToString():\t{special.ToString()}");
            _telemetryClient.TrackEvent(
                nameof(Specially),
                new System.Collections.Generic.Dictionary <string, string>()
            {
                { "Special", special.ToString() }
            });
        }