src/Miles.Meta/Messaging/QueueNameAffixesAttribute.cs
/// <summary>
/// Gets the queue prefix for the supplied assembly.
/// </summary>
/// <param name="assembly">The assembly.</param>
/// <returns></returns>
Gets the queue prefix for the supplied assembly.
Gets the queue prefix for the supplied assembly .
public static string GetQueueSuffix(this Assembly assembly)
        {
            var attrib = assembly.GetCustomAttribute<QueueNameAffixesAttribute>();
            return attrib?.Suffix ?? string.Empty;
        }
public static string GetQueueSuffix ( this Assembly assembly ) { var attrib = assembly . GetCustomAttribute < QueueNameAffixesAttribute > ( ) ; return attrib ? . Suffix ?? string . Empty ; }
Gets the queue prefix for the supplied assembly.
Gets the queue prefix for the supplied assembly .
None
Assembly
this
assembly
None