public ImmutableModel ReadModelFromFile(string xmiFilePath, UmlXmiReadOptions options = null)
 {
     if (xmiFilePath == null)
     {
         throw new ArgumentNullException(nameof(xmiFilePath));
     }
     return(_xmiSerializer.ReadModelFromFile(xmiFilePath, options ?? new UmlXmiReadOptions()));
 }
 public ImmutableModel ReadModel(string xmiCode, UmlXmiReadOptions options = null)
 {
     if (xmiCode == null)
     {
         throw new ArgumentNullException(nameof(xmiCode));
     }
     return(_xmiSerializer.ReadModel(xmiCode, options ?? new UmlXmiReadOptions()));
 }
 public ImmutableModelGroup ReadModelGroupFromFile(string xmiFilePath, UmlXmiReadOptions options = null)
 {
     return(this.ReadModelFromFile(xmiFilePath, options).ModelGroup);
 }
 public ImmutableModelGroup ReadModelGroup(string xmiCode, UmlXmiReadOptions options = null)
 {
     return(this.ReadModel(xmiCode, options).ModelGroup);
 }