Exemplo n.º 1
0
 public ImmutableModel ReadModelFromFile(string xmiFilePath, MetaXmiReadOptions options = null)
 {
     if (xmiFilePath == null)
     {
         throw new ArgumentNullException(nameof(xmiFilePath));
     }
     return(_xmiSerializer.ReadModelFromFile(xmiFilePath, options ?? new MetaXmiReadOptions()));
 }
Exemplo n.º 2
0
 public ImmutableModel ReadModel(string xmiCode, MetaXmiReadOptions options = null)
 {
     if (xmiCode == null)
     {
         throw new ArgumentNullException(nameof(xmiCode));
     }
     return(_xmiSerializer.ReadModel(xmiCode, options ?? new MetaXmiReadOptions()));
 }
Exemplo n.º 3
0
 public ImmutableModelGroup ReadModelGroupFromFile(string xmiFilePath, MetaXmiReadOptions options = null)
 {
     return(this.ReadModelFromFile(xmiFilePath, options).ModelGroup);
 }
Exemplo n.º 4
0
 public ImmutableModelGroup ReadModelGroup(string xmiCode, MetaXmiReadOptions options = null)
 {
     return(this.ReadModel(xmiCode, options).ModelGroup);
 }