Пример #1
0
 public ClassEntity(ClassType type, string className, string namespaceQualifiedId, TypeDefinition typeDefinition, NamespaceEntity namespaceEntity)
 {
     Type = type;
     Name = className;
     NamespaceQualifiedId = namespaceQualifiedId;
     FormattedName        = className.ToCapitalCase();
     TypeDefinition       = typeDefinition;
     Description          = typeDefinition.Description;
     NamespaceEntity      = namespaceEntity;
     Properties           = new Dictionary <string, PropertyDefinition>();
     Functions            = new List <FunctionDefinition>();
 }
 public AnonymousTypeEntityRegistrationInfo(IEnumerable <string> nameHierarchy, TypeReference typeReference, NamespaceEntity namespaceEntity)
 {
     Name            = string.Join('.', nameHierarchy);
     NameHierarchy   = nameHierarchy;
     TypeReference   = typeReference;
     NamespaceEntity = namespaceEntity;
 }