public DocumentModel(ICommentParser commentParser, IEventAggregator eventAggregator) { Namespaces = new NamespaceGenerator(matchedAssociations); Types = new TypeGenerator(matchedAssociations, commentParser); Methods = new MethodGenerator(matchedAssociations, commentParser); Properties = new PropertyGenerator(matchedAssociations, commentParser); Events = new EventGenerator(matchedAssociations, commentParser); Fields = new FieldGenerator(matchedAssociations, commentParser); this.eventAggregator = eventAggregator; steps = new List<IGenerationStep> { new GenerationStep<IDocumentationMember>(Namespaces.Add), new GenerationStep<DocumentedType>(Types.Add), new GenerationStep<DocumentedMethod>(Methods.Add), new GenerationStep<DocumentedProperty>(Properties.Add), new GenerationStep<DocumentedEvent>(Events.Add), new GenerationStep<DocumentedField>(Fields.Add), }; }
public DocumentModel(ICommentParser commentParser, IEventAggregator eventAggregator) { Namespaces = new NamespaceGenerator(matchedAssociations); Types = new TypeGenerator(matchedAssociations, commentParser); Methods = new MethodGenerator(matchedAssociations, commentParser); Properties = new PropertyGenerator(matchedAssociations, commentParser); Events = new EventGenerator(matchedAssociations, commentParser); Fields = new FieldGenerator(matchedAssociations, commentParser); this.eventAggregator = eventAggregator; steps = new List <IGenerationStep> { new GenerationStep <IDocumentationMember>(Namespaces.Add), new GenerationStep <DocumentedType>(Types.Add), new GenerationStep <DocumentedMethod>(Methods.Add), new GenerationStep <DocumentedProperty>(Properties.Add), new GenerationStep <DocumentedEvent>(Events.Add), new GenerationStep <DocumentedField>(Fields.Add), }; }