コード例 #1
0
ファイル: ActionSet.cs プロジェクト: bigstupidx/Halfway-Home
 /// <summary>
 /// Migrates new actions over.
 /// </summary>
 public void Migrate()
 {
     // Add the new actions (to prevent desync)
     foreach (var action in RecentlyAddedActions)
     {
         ActiveActions.Add(action);
     }
     RecentlyAddedActions.Clear();
 }
コード例 #2
0
ファイル: KitAction.razor.cs プロジェクト: ebekker/conjure
 protected override void OnInitialized()
 {
     ActionContainer?.Add(this);
 }