Пример #1
0
 public ImmutableModel ReadModelFromFile(string xmiFilePath, UmlXmiReadOptions options = null)
 {
     if (xmiFilePath == null)
     {
         throw new ArgumentNullException(nameof(xmiFilePath));
     }
     return(_xmiSerializer.ReadModelFromFile(xmiFilePath, options ?? new UmlXmiReadOptions()));
 }
Пример #2
0
 public ImmutableModel ReadModel(string xmiCode, UmlXmiReadOptions options = null)
 {
     if (xmiCode == null)
     {
         throw new ArgumentNullException(nameof(xmiCode));
     }
     return(_xmiSerializer.ReadModel(xmiCode, options ?? new UmlXmiReadOptions()));
 }
Пример #3
0
 public ImmutableModelGroup ReadModelGroupFromFile(string xmiFilePath, UmlXmiReadOptions options = null)
 {
     return(this.ReadModelFromFile(xmiFilePath, options).ModelGroup);
 }
Пример #4
0
 public ImmutableModelGroup ReadModelGroup(string xmiCode, UmlXmiReadOptions options = null)
 {
     return(this.ReadModel(xmiCode, options).ModelGroup);
 }