Esempio n. 1
0
        public static string ToCommandString(this TesiraCommand command)
        {
            var str = command.ToString();

            return(str.Substring(0, 1).ToLower() + str.Substring(1, str.Length - 1));
        }
Esempio n. 2
0
 internal static string FormatBaseMessage(string instanceTag, TesiraCommand command, TesiraAttributeCode attributeCode)
 {
     return(string.Format("{0} {1} {2}", instanceTag, command.ToString().ToLower(), attributeCode.ToCommandString()));
 }