IRCPluginImpl.name

Returns the name of the plugin.

If fullName is true, the full name is returned, including "Plugin" or "Service". If it is false, these are sliced off the end of the string.

If lowercase is true, the name as selected by the above is returned in lowercase.

All cases are evaluated at compile-time for performance.

mixintemplate IRCPluginImpl(Flag!"debug_" debug_ = No.debug_, string module_ = __MODULE__)
@safe override const pure nothrow @nogc
string
name
(
const bool lowercase = true
,
const bool fullName = false
)

Parameters

lowercase bool

Whether to return the name in lowercase.

fullName bool

Whether to return the full name, including "Plugin" or "Service".

Return Value

Type: string

The name of the mixing-in class, in the requested form.