NServiceBus.AcceptanceTesting.Support.EndpointRunner.Name C# (CSharp) Method

Name() public method

public Name ( ) : string
return string
        public string Name()
        {
            return configuration.EndpointName;
        }
    }

Usage Example

Example #1
0
        static async Task ExecuteWhens(EndpointRunner endpoint, CancellationTokenSource cts)
        {
            var token = cts.Token;

            try
            {
                await endpoint.Whens(token).ConfigureAwait(false);
            }
            catch (Exception)
            {
                cts.Cancel();
                Console.WriteLine($"Whens for endpoint {endpoint.Name()} failed to execute.");
                throw;
            }
        }
All Usage Examples Of NServiceBus.AcceptanceTesting.Support.EndpointRunner::Name