Ejemplo n.º 1
0
            public string GetAdjustedName(bool useCamelCase)
            {
                string thisName = this.Name;

                if (useCamelCase)
                {
                    if (CBORUtilities.NameStartsWithWord(thisName, "Is"))
                    {
                        thisName = thisName.Substring(2);
                    }
                    thisName = CBORUtilities.FirstCharLower(thisName);
                }
                else
                {
                    thisName = CBORUtilities.FirstCharUpper(thisName);
                }
                return(thisName);
            }