Skip to content

Commit 8413d82

Browse files
authored
Get rid of unused Node.Extensions property (#332)
1 parent b252818 commit 8413d82

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

Orm/Xtensive.Orm/Orm/Model/Node.cs

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,9 @@ namespace Xtensive.Orm.Model
1515
///An abstract base class for model node.
1616
/// </summary>
1717
[Serializable]
18-
public abstract class Node
19-
: LockableBase,
20-
IChangeNotifier,
21-
IHasExtensions
18+
public abstract class Node : LockableBase, IChangeNotifier
2219
{
2320
private string name;
24-
private ExtensionCollection extensions;
2521

2622
/// <summary>
2723
/// Gets the name of this instance.
@@ -63,24 +59,6 @@ protected virtual void ValidateName(string newName)
6359

6460
#endregion
6561

66-
#region IExtensionCollection Members
67-
68-
public IExtensionCollection Extensions {
69-
get {
70-
if (extensions != null)
71-
return extensions;
72-
73-
lock (this) {
74-
if (extensions == null)
75-
extensions = new ExtensionCollection();
76-
}
77-
78-
return extensions;
79-
}
80-
}
81-
82-
#endregion
83-
8462
/// <summary>
8563
/// Updates the internal state of this instance.
8664
/// </summary>

0 commit comments

Comments
 (0)