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