Skip to content

Commit

Permalink
remove obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
DomCR committed Jan 20, 2025
1 parent e122cb5 commit 47dc2e2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ private void writeExtendedData(ExtendedDataDictionary data)
if (this.WriteXData)
{
//EED size BS size of extended entity data, if any
foreach (var item in data.Entries)
foreach (var item in data)
{
writeExtendedDataEntry(item.Key, item.Value);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ protected void writeExtendedData(ExtendedDataDictionary xdata)
return;
}

foreach (var entry in xdata.Entries)
foreach (var entry in xdata)
{
this._writer.Write(DxfCode.ExtendedDataRegAppName, entry.Key.Name);

Expand Down
3 changes: 0 additions & 3 deletions src/ACadSharp/XData/ExtendedDataCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ namespace ACadSharp.XData
{
public class ExtendedDataDictionary : IEnumerable<KeyValuePair<AppId, ExtendedData>>
{
[Obsolete]
public IEnumerable<KeyValuePair<AppId, ExtendedData>> Entries { get { return this._data; } }

public CadObject Owner { get; }

private Dictionary<AppId, ExtendedData> _data = new Dictionary<AppId, ExtendedData>();
Expand Down

0 comments on commit 47dc2e2

Please sign in to comment.