示例#1
0
 /// <summary>
 /// Class constructor from <seealso cref="IDocumentModel"/> parameter.
 /// </summary>
 /// <param name="documentModel"></param>
 public MiniUmlViewModel(IDocumentModel documentModel, IMessageBoxService IMsgBox)
     : this(IMsgBox)
 {
     MDocumentModel = documentModel;
     MDocumentModel.SetFileNamePath(FilePath, IsFilePathReal);
 }
示例#2
0
 /// <summary>
 /// Class constructor from <seealso cref="IDocumentModel"/> parameter.
 /// </summary>
 /// <param name="documentModel"></param>
 public MiniUmlViewModel(IDocumentModel documentModel)
     : this()
 {
     MDocumentModel = documentModel;
     MDocumentModel.SetFileNamePath(FilePath, IsFilePathReal);
 }