CSharpSourceEmitter.SourceEmitter.PrintTypeDefinitionKeywordType C# (CSharp) Method

PrintTypeDefinitionKeywordType() public method

public PrintTypeDefinitionKeywordType ( ITypeDefinition typeDefinition ) : void
typeDefinition ITypeDefinition
return void
    public virtual void PrintTypeDefinitionKeywordType(ITypeDefinition typeDefinition) {
      if (typeDefinition.IsInterface)
        PrintKeywordInterface();
      else if (typeDefinition.IsEnum)
        PrintKeywordEnum();
      else if (typeDefinition.IsValueType)
        PrintKeywordStruct();
      else
        PrintKeywordClass();
    }
SourceEmitter