예제 #1
0
 /// <default>
 ///     <summary>
 ///     Creates the sequence diagram for the given <c>SDMethod</c>.
 ///     </summary>
 ///     <param name="method">Create the sequence diagram for this <c>SDMethod</c>.</param>
 ///     <param name="repositoryTypes">The method needs all known types of the current solution. 
 ///     You are able to get it with the <c>GetAllTypes</c> method of the <c>SDRepository</c>.</param>
 ///     <returns>The sequence diagram for the given <c>SDMethod</c>.</returns>
 /// </default>
 /// <de>
 ///     <summary>
 ///     Erstellt das Sequenzdiagramm für die gegebene <c>SDMethod</c>.
 ///     </summary>
 ///     <param name="method">Erstellt das Sequenzdiagramm für dies <c>SDMethod</c>.</param>
 ///     <param name="repositoryTypes">Die Methode benötigt alle bekannten Typen der aktuellen Lösung. 
 ///     Es ist möglich diese mit der <c>GetAllTypes</c> Methode des <c>SDRepository</c> zubekommen.</param>
 ///     <returns>Das Sequenzdiagramm für die <c>SDMethod</c>.</returns>
 /// </de>
 public static ISDDiagram GetSequenceDiagram(this SDMethod method, List<SDType> repositoryTypes)
 {
     var sequenceDiagramParser = new SequenceDiagramParser(method, repositoryTypes);
     return sequenceDiagramParser.CreateSequenceDiagram();
 }
예제 #2
0
 /// <default>
 ///     <summary>
 ///     Creates the sequence diagram for the given <c>SDMethod</c>.
 ///     </summary>
 ///     <param name="method">Create the sequence diagram for this <c>SDMethod</c>.</param>
 ///     <param name="sdProject">The method needs the complete parsed sharpDox project.</param>
 ///     <returns>The sequence diagram for the given <c>SDMethod</c>.</returns>
 /// </default>
 /// <de>
 ///     <summary>
 ///     Erstellt das Sequenzdiagramm für die gegebene <c>SDMethod</c>.
 ///     </summary>
 ///     <param name="method">Erstellt das Sequenzdiagramm für dies <c>SDMethod</c>.</param>
 ///     <param name="sdRepository">Die Methode benötigt das eingelesene Repository.</param>
 ///     <returns>Das Sequenzdiagramm für die <c>SDMethod</c>.</returns>
 /// </de>
 public static ISDDiagram GetSequenceDiagram(this SDMethod method, SDRepository sdRepository)
 {
     var sequenceDiagramParser = new SequenceDiagramParser(method, sdRepository);
     return sequenceDiagramParser.CreateSequenceDiagram();
 }