public NodeGeneratorConfig <TNode> FilenameConfigAsEditor(Func <TNode, string> selector) { Filename = new ConfigProperty <TNode, string>( (node) => Path.Combine("Editor", selector(node))); return(this); }
public NodeGeneratorConfig <TNode> DeclarationConfig(ConfigProperty <TNode, CodeTypeDeclaration> declaration) { Declaration = declaration; return(this); }
public NodeGeneratorConfig <TNode> NamespacesConfig(Func <TNode, IEnumerable <string> > selector) { Namespaces = new ConfigProperty <TNode, IEnumerable <string> >(selector); return(this); }
public NodeGeneratorConfig <TNode> NamespacesConfig(IEnumerable <string> literal) { Namespaces = new ConfigProperty <TNode, IEnumerable <string> >(literal); return(this); }
public NodeGeneratorConfig <TNode> DesignerFilenameConfig(string literal) { DesignerFilename = new ConfigProperty <TNode, string>(Path.Combine("_DesignerFiles", literal)); return(this); }
public NodeInputConfig NameConfig(string literal) { Name = new ConfigProperty <IDiagramNodeItem, string>(literal); return(this); }
public NodeConfig <TNode> ColorConfig(Func <TNode, NodeColor> selector) { NodeColor = new ConfigProperty <TNode, NodeColor>(selector); return(this); }
public NodeConfig <TNode> ColorConfig(ConfigProperty <TNode, NodeColor> color) { NodeColor = color; return(this); }
public NodeGeneratorConfig <TNode> BaseTypeConfig(Func <TNode, CodeTypeReference> selector) { BaseType = new ConfigProperty <TNode, CodeTypeReference>(selector); return(this); }
public NodeGeneratorConfig <TNode> BaseTypeConfig(CodeTypeReference literal) { BaseType = new ConfigProperty <TNode, CodeTypeReference>(literal); return(this); }
public NodeGeneratorConfig <TNode> BaseTypeConfig(ConfigProperty <TNode, CodeTypeReference> baseType) { BaseType = baseType; return(this); }
public NodeGeneratorConfig <TNode> FilenameConfig(ConfigProperty <TNode, string> filename) { Filename = filename; return(this); }
public NodeGeneratorConfig <TNode> DesignerFilenameConfigAsEditor(string fileName) { DesignerFilename = new ConfigProperty <TNode, string>(Path.Combine(Path.Combine("_DesignerFiles", "Editor"), fileName)); return(this); }
public NodeGeneratorConfig <TNode> DesignerFilenameConfigAsEditor(Func <TNode, string> selector) { DesignerFilename = new ConfigProperty <TNode, string>(node => Path.Combine(Path.Combine("_DesignerFiles", "Editor"), selector(node))); return(this); }
public NodeGeneratorConfig <TNode> DeclarationConfig(CodeTypeDeclaration literal) { Declaration = new ConfigProperty <TNode, CodeTypeDeclaration>(literal); return(this); }
public NodeGeneratorConfig <TNode> NamespacesConfig(ConfigProperty <TNode, IEnumerable <string> > namespaces) { Namespaces = namespaces; return(this); }
public NodeGeneratorConfig <TNode> DeclarationConfig(Func <TNode, CodeTypeDeclaration> selector) { Declaration = new ConfigProperty <TNode, CodeTypeDeclaration>(selector); return(this); }
public NodeGeneratorConfig <TNode> ClassNameConfig(ConfigProperty <TNode, string> className) { ClassName = className; return(this); }
public NodeConfig <TNode> ColorConfig(NodeColor literal) { NodeColor = new ConfigProperty <TNode, NodeColor>(literal); return(this); }
public NodeGeneratorConfig <TNode> ClassNameConfig(string literal) { ClassName = new ConfigProperty <TNode, string>(literal); return(this); }
public NodeInputConfig NameConfig(ConfigProperty <IDiagramNodeItem, string> name) { Name = name; return(this); }
public NodeGeneratorConfig <TNode> ClassNameConfig(Func <TNode, string> selector) { ClassName = new ConfigProperty <TNode, string>(selector); return(this); }
public NodeInputConfig NameConfig(Func <IDiagramNodeItem, string> selector) { Name = new ConfigProperty <IDiagramNodeItem, string>(selector); return(this); }
public NodeGeneratorConfig <TNode> DesignerFilenameConfig(ConfigProperty <TNode, string> designerFilename) { DesignerFilename = designerFilename; return(this); }