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