-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
choe: refactor mutable interface (#2340)
- Loading branch information
1 parent
e492c22
commit 09bf475
Showing
2 changed files
with
33 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
using Intersect.Client.Framework.Gwen.Control; | ||
using Intersect.Client.Framework.Gwen.Control; | ||
|
||
namespace Intersect.Client.Interface; | ||
|
||
|
||
public interface IMutableInterface | ||
{ | ||
|
||
List<Base> Children { get; } | ||
|
||
TElement Create<TElement>(params object[] parameters) where TElement : Base; | ||
|
||
TElement Find<TElement>(string name = null, bool recurse = false) where TElement : Base; | ||
TElement? Find<TElement>(string? name = null, bool recurse = false) where TElement : Base; | ||
|
||
IEnumerable<TElement> FindAll<TElement>(bool recurse = false) where TElement : Base; | ||
IEnumerable<TElement?> FindAll<TElement>(bool recurse = false) where TElement : Base; | ||
|
||
void Remove<TElement>(TElement element, bool dispose = false) where TElement : Base; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters