Пример #1
0
 /// <summary>
 /// Creates a string from the first letter in each word.
 /// E.g. "SomeTypeName" would generate the string "stn".
 /// </summary>
 /// <param name="scope">Provide an instance to ensure variable names are unique within a given scope.</param>
 public static string ToVariableName(this Fixable <string> longName, VariableScopeProvider scope = null)
 {
     return(longName.ToString().ToVariableName(scope));
 }
Пример #2
0
 private void Start()
 {
     Fixable.AddObserverStatic(this);
 }
Пример #3
0
 public static string ToPythonCase(this Fixable <string> value) => Singleton <CodeNamerPy> .Instance.PythonCase(value);
Пример #4
0
 public static void Null(Fixable <string> str)
 {
     Assert.Null(str.Value);
 }
Пример #5
0
 private void ResetTicks()
 {
     ticks          = 0;
     currentFixable = null;
 }