示例#1
0
 public void Clear()
 {
     Commits?.Clear();
     Branches?.Clear();
     Edges?.Clear();
     CommitToModel?.Clear();
     ContentCleared?.Invoke();
 }
 private void fire_ContentCleared(InputTypes type, string title, string input)
 {
     if (ContentCleared != null)
     {
         try
         {
             ContentCleared.Invoke(this, new InputEventArgs(type, title, input));
         }
         catch { }
     }
 }