Skip to content

Commit

Permalink
Header passed as an argument to memory model
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLockley committed Jul 10, 2020
1 parent ed243e9 commit 07fc65a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Xbim.IO.MemoryModel/MemoryModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ public static XbimSchemaVersion GetStepFileXbimSchemaVersion(Stream stream)
{
return GetStepFileXbimSchemaVersion(GetStepFileSchemaVersion(stream));
}

public MemoryModel(IEntityFactory entityFactory, IStepFileHeader header) : base(entityFactory, 0)
{
Header = header;
}
public MemoryModel(IEntityFactory entityFactory, int labelFrom) : base(entityFactory, labelFrom) { }

public MemoryModel(IEntityFactory entityFactory) : this(entityFactory, 0) { }
Expand Down

0 comments on commit 07fc65a

Please sign in to comment.