Beispiel #1
0
 internal void OnMenuGenerateCQRSModelDocumentation(object sender, EventArgs e)
 {
     if (null != GetCurrentCQRSModel())
     {
         // Document the specified model...
         DocumentationGeneration.ModelDocumentationGenerator modelDoc = new DocumentationGeneration.ModelDocumentationGenerator(GetCurrentCQRSModel());
         if (null != modelDoc)
         {
             modelDoc.GenerateDocumentation();
         }
     }
 }
Beispiel #2
0
        internal void OnMenuGenerateCQRSModelDocumentation(object sender, EventArgs e)
        {
            if (null != GetCurrentCQRSModel())
            {
                CQRSAzure.CQRSdsl.CustomCode.Interfaces.IDocumentationGenerationOptions options = GetCurrentCQRSModel().GetDocumentationGenerationOptions();
                if (null == options)
                {
                    options = DocumentationGenerationOptions.Create(new System.IO.DirectoryInfo(GetCurrentCQRSModel().DocumentationRootFolder));
                }

                // Document the specified model...
                DocumentationGeneration.ModelDocumentationGenerator modelDoc = new DocumentationGeneration.ModelDocumentationGenerator(GetCurrentCQRSModel(), options);
                if (null != modelDoc)
                {
                    modelDoc.GenerateDocumentation();
                }
            }
        }