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