Ejemplo n.º 1
0
            public BuildSetting(string name)
            {
                Name = name;
                var validCharacterName = InvalidCharacterPairs.Replace(name);
                var validKeyword       = InvalidNames.Replace(validCharacterName);

                CSharpName = validKeyword;
            }
Ejemplo n.º 2
0
            public BuildSetting(string path)
            {
                Path = System.IO.Path.ChangeExtension(path.Replace("Assets/", ""), null);
                var validCharacterName = InvalidCharacterPairs.Replace(Path);
                var validKeyword       = InvalidNames.Replace(validCharacterName);

                CSharpName = validKeyword;
            }