private void AddView(ViewLifetimeControl viewControl) { lock (_collectionLock) { App.LogService.Write($"Adding view: {viewControl.Id}"); SecondaryViews.Add(viewControl); } ViewAdded?.Invoke(this, new ViewLifetimeControlEventArgs() { ViewControl = viewControl }); }
internal void SendViewAdded(View view) { ViewAdded?.Invoke(view, EventArgs.Empty); }
public static void OnViewAdded(RavenhillViewType type) { ViewAdded?.Invoke(type); }
private void AddViewButtonClicked(object sender, ClickedEventArgs args) { ViewAdded?.Invoke(objectView, new EventArgs()); }