Elders.Hystrix.NET.HystrixCommandKey.GetDefaultNameForCommandType C# (CSharp) Method

GetDefaultNameForCommandType() private static method

Gets the default name for a command type.
private static GetDefaultNameForCommandType ( Type commandType ) : string
commandType System.Type The command type.
return string
        private static string GetDefaultNameForCommandType(Type commandType)
        {
            if (commandType == null)
            {
                throw new ArgumentNullException("commandType");
            }

            return commandType.Name;
        }
    }