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