Summary
Converts the specified string into a valid member name by skipping any invalid characters or replacing them with underscores.
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Editor .Procedural .Scripting - Containing Type
- CSharpProcedural
Syntax
public static string ValidateMemberName(string name, bool replaceWithUnderscores = false)
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | |
| replaceWithUnderscores | bool |
Return Value
| Type | Description |
|---|---|
| string |