Exemplo n.º 1
0
        public IPanel <Form> Create([NotNull] IActionDefinition action)
        {
            var result = new ThreatEventListPanel();

            if (_actions != null)
            {
                result.SetContextAwareActions(_actions);
            }
            return(result);
        }
Exemplo n.º 2
0
        public IPanel <Form> Create(IIdentity identity, out IActionDefinition action)
        {
            var result = new ThreatEventListPanel();

            if (_actions != null)
            {
                result.SetContextAwareActions(_actions);
            }

            action = new ActionDefinition(result.Id, "ThreatEventList", "Threat Event\nList", Resources.threat_event_big,
                                          Resources.threat_event);

            return(result);
        }