public IPanel <Form> Create([NotNull] IActionDefinition action) { var result = new KnownMitigationListPanel(); if (_actions != null) { result.SetContextAwareActions(_actions); } return(result); }
public IPanel <Form> Create(IIdentity identity, out IActionDefinition action) { var result = new KnownMitigationListPanel(); if (_actions != null) { result.SetContextAwareActions(_actions); } action = new ActionDefinition(result.Id, "KnownMitigationList", "Known Mitigation\nList", Resources.standard_mitigations_big, Resources.standard_mitigations); return(result); }