public IPanel <Form> Create([NotNull] IActionDefinition action) { var result = new CalculatedSeverityListPanel(); if (_actions != null) { result.SetContextAwareActions(_actions); } return(result); }
public IPanel <Form> Create(IIdentity identity, out IActionDefinition action) { var result = new CalculatedSeverityListPanel(); if (_actions != null) { result.SetContextAwareActions(_actions); } action = new ActionDefinition(result.Id, "CalculatedSeverityList", "Calculated Severity\nList", Properties.Resources.threat_event_big_sum, Properties.Resources.threat_event_sum); return(result); }