C# Class TerrificNet.Generator.RoslynExtension

Exibir arquivo Open project: namics/TerrificNet Class Usage Examples

Public Methods

Method Description
AddProperties ( this memberList, Newtonsoft.Json.Schema.JSchema schema, MemberDeclarationSyntax>.Dictionary typeContext, INamingRule namingRule ) : SyntaxList
GenerateClass ( Newtonsoft.Json.Schema.JSchema schema, MemberDeclarationSyntax>.Dictionary typeContext, string propertyName, INamingRule namingRule ) : string

Private Methods

Method Description
GetPropertyType ( Newtonsoft.Json.Schema.JSchema value, MemberDeclarationSyntax>.Dictionary typeContext, string propertyName, INamingRule namingRule ) : Roslyn.Compilers.CSharp.TypeSyntax
GetQualifiedName ( ) : QualifiedNameSyntax

Method Details

AddProperties() public static method

public static AddProperties ( this memberList, Newtonsoft.Json.Schema.JSchema schema, MemberDeclarationSyntax>.Dictionary typeContext, INamingRule namingRule ) : SyntaxList
memberList this
schema Newtonsoft.Json.Schema.JSchema
typeContext MemberDeclarationSyntax>.Dictionary
namingRule INamingRule
return SyntaxList

GenerateClass() public static method

public static GenerateClass ( Newtonsoft.Json.Schema.JSchema schema, MemberDeclarationSyntax>.Dictionary typeContext, string propertyName, INamingRule namingRule ) : string
schema Newtonsoft.Json.Schema.JSchema
typeContext MemberDeclarationSyntax>.Dictionary
propertyName string
namingRule INamingRule
return string