internal void Add(int parentId, IEnumerable <WPFCommand> wpfCommands) { foreach (var cmd in wpfCommands) { if (cmd.RuntimeType != WPFCommandNames.CustomizeUI) { var m = new ViewConfigurationCommand(); m.Id = RafyEnvironment.NewLocalId(); m.ViewConfigurationModelId = parentId; m.Name = cmd.Name; m.Label = cmd.Label; m.IsVisible = cmd.IsVisible; this.Add(m); } } }
public void Insert(int index, ViewConfigurationCommand entity) { base.Insert(index, entity); }
public int IndexOf(ViewConfigurationCommand entity) { return(base.IndexOf(entity)); }
public bool Contains(ViewConfigurationCommand entity) { return(base.Contains(entity)); }
public void Add(ViewConfigurationCommand entity) { base.Add(entity); }
public bool Remove(ViewConfigurationCommand entity) { return(base.Remove(entity)); }
internal void Add(int parentId, IEnumerable<WPFCommand> wpfCommands) { foreach (var cmd in wpfCommands) { if (cmd.RuntimeType != WPFCommandNames.CustomizeUI) { var m = new ViewConfigurationCommand(); m.Id = RafyEnvironment.NewLocalId(); m.ViewConfigurationModelId = parentId; m.Name = cmd.Name; m.Label = cmd.Label; m.IsVisible = cmd.IsVisible; this.Add(m); } } }
public int IndexOf(ViewConfigurationCommand entity) { return base.IndexOf(entity); }
public bool Contains(ViewConfigurationCommand entity) { return base.Contains(entity); }
public bool Remove(ViewConfigurationCommand entity) { return base.Remove(entity); }