mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Got rid of Action<T>/Func<T>
This commit is contained in:
parent
44bd9c698f
commit
b52db47d55
37 changed files with 94 additions and 88 deletions
|
@ -835,7 +835,7 @@ namespace BeefPerf
|
|||
OpenedNew
|
||||
}
|
||||
|
||||
public void WithDocumentTabbedViews(Action<DarkTabbedView> func)
|
||||
public void WithDocumentTabbedViews(delegate void(DarkTabbedView) func)
|
||||
{
|
||||
for (int32 windowIdx = 0; windowIdx < mWindows.Count; windowIdx++)
|
||||
{
|
||||
|
@ -860,7 +860,7 @@ namespace BeefPerf
|
|||
}
|
||||
}
|
||||
|
||||
public void WithTabs(Action<TabbedView.TabButton> func)
|
||||
public void WithTabs(delegate void(TabbedView.TabButton) func)
|
||||
{
|
||||
WithDocumentTabbedViews(scope (documentTabbedView) =>
|
||||
{
|
||||
|
|
|
@ -1383,7 +1383,7 @@ namespace BeefPerf
|
|||
return dc.mSelection;
|
||||
}
|
||||
|
||||
void WithNodes(TrackNode node, Action<TrackNode> act)
|
||||
void WithNodes(TrackNode node, delegate void(TrackNode) act)
|
||||
{
|
||||
act(node);
|
||||
var group = node as TrackNodeGroup;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue