(self, s, element, element_type=None)
return '.'.join([utilities.CamelCase(x) for x in s.split('.')])
Convert a discovery name to a suitable C# class name.

    Overrides the default.

    Args:
      s: (str) A rosy name of data element.
      element: (object) The object we need a class name for.
      element_type: (str) The kind of element (resource|method) to name.
    Returns:
      A name suitable for use as a class in the generator's target language.
Convert a discovery name to a suitable C# class name.
Convert a discovery name to a suitable C# class name .
def ToClassName(self, s, element, element_type=None):
    """Convert a discovery name to a suitable C# class name.

    Overrides the default.

    Args:
      s: (str) A rosy name of data element.
      element: (object) The object we need a class name for.
      element_type: (str) The kind of element (resource|method) to name.
    Returns:
      A name suitable for use as a class in the generator's target language.
    """
    if s in CSharpLanguageModel.RESERVED_CLASS_NAMES:
      # Prepend the service name
      return '%s%s' % (utilities.CamelCase(self.values['name']),
                       utilities.CamelCase(s))
    return '.'.join([utilities.CamelCase(x) for x in s.split('.')])
def ToClassName ( self , s , element , element_type = None ) : if s in CSharpLanguageModel . RESERVED_CLASS_NAMES : # Prepend the service name return '%s%s' % ( utilities . CamelCase ( self . values [ 'name' ] ) , utilities . CamelCase ( s ) ) return '.' . join ( [ utilities . CamelCase ( x ) for x in s . split ( '.' ) ] )