Method ToStringList
ToStringList(Feature, string)
Generates a single string representing the list of enabled features separated by separator
, or a comma if not specified.
Declaration
public static string ToStringList(this Feature features, string separator = ", ")
Parameters
Type | Name | Description |
---|---|---|
Feature | features | The Feature being extended. |
string | separator | The string separator to insert between elements of the list, or ", " if omitted. |
Returns
Type | Description |
---|---|
string | A string of Features separated by |
Remarks
This method makes several heap allocations, generating garbage. It is intended for debugging purposes and should not be called frequently in a production application.