src/Orleans.Core/Configuration/OptionLogger/IOptionFormatter.cs
/// <summary>
/// Formats the name of an options object.
/// </summary>
/// <typeparam name="TOptions">The options type.</typeparam>
/// <param name="name">The options name.</param>
/// <param name="formatting">The format string.</param>
/// <returns>The formatted options object name.</returns>
Formats the name of an options object.
Formats the name of an options object .
public static string Name<TOptions>(string name = null, string formatting = null)
        {
            return name is null && formatting is null ? typeof(TOptions).FullName
                : string.Format(formatting ?? DefaultNamedFormatting, typeof(TOptions).FullName, name);
        }
public static string Name < TOptions > ( string name = null , string formatting = null ) { return name is null && formatting is null ? typeof ( TOptions ) . FullName : string . Format ( formatting ?? DefaultNamedFormatting , typeof ( TOptions ) . FullName , name ) ; }
Formats the name of an options object.
Formats the name of an options object .
The formatted options object name.
The formatted options object name .
name
string
The options name.
The options name .
formatting
string
The format string.
The format string .
typeparam
The options type.
The options type .