Provided a common class for observable collections similar to what the .NET Framework 3.0 offers; ParentingCollection no longer requires the parent type to be a reference type; Laid the foundation for a new progress tracking framework that can be used to drive progress bars, loading screens and such
git-svn-id: file:///srv/devel/repo-conversion/nusu@9 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
355e5766d4
commit
2d145ca867
11 changed files with 379 additions and 6 deletions
|
|
@ -5,7 +5,7 @@ namespace Nuclex.Support.Collections {
|
|||
|
||||
/// <summary>Base class for objects that can be parented to an owner</summary>
|
||||
/// <typeparam name="ParentType">Type of the parent object</typeparam>
|
||||
public class Parentable<ParentType> where ParentType : class {
|
||||
public class Parentable<ParentType> {
|
||||
|
||||
/// <summary>Assigns a new parent to this instance</summary>
|
||||
internal void SetParent(ParentType parent) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue