1
0
Fork 0
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:
Brian Fiete 2020-05-08 07:10:35 -07:00
parent 44bd9c698f
commit b52db47d55
37 changed files with 94 additions and 88 deletions

View file

@ -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) =>
{

View file

@ -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;