コード例 #1
0
 /// <summary>
 /// Converts the specified name to one with an uppercase first letter (something to Something).
 /// Just a wrapper over the <see cref="DescriptorHelpers"/> method with the same name,
 /// </summary>
 /// <param name="name">The name.</param>
 /// <returns></returns>
 protected static string UpperFirstLetter(string name)
 {
     return(DescriptorHelpers.UpperFirstLetter(name));
 }
コード例 #2
0
 /// <summary>
 /// Converts the specified name from underscore_case to camelCase.
 /// Just a wrapper over the <see cref="DescriptorHelpers"/> method with the same name,
 /// </summary>
 /// <param name="name">The name.</param>
 /// <returns></returns>
 protected static string Camelify(string name)
 {
     return(DescriptorHelpers.Camelify(name));
 }