ScriptBuilder.

GetFallbackMemberName(string, string) Method

Summary

Converts the `nameSource` into a valid member name according to the desired naming convention when the primary name returned by Weaver.Editor.Procedural.Scripting.ScriptBuilder.GetPrimaryMemberName(System.String) caused a naming conflict.

By default, this method uses Weaver.Editor.Procedural.Scripting.CSharpProcedural.ValidateMemberName(System.String,System.Boolean) with the `replaceWithUnderscores` parameter set to false.
Assembly
Weaver.dll
Namespace
Weaver.Editor.Procedural.Scripting
Containing Type
ScriptBuilder

Syntax

public virtual string GetFallbackMemberName(string nameSource, string declaringTypeName)

Parameters

Name Type Description
nameSource string
declaringTypeName string

Return Value

Type Description
string