Exemplo n.º 1
0
        public EcasContext(EcasTriggerSystem coll, EcasTrigger trigger,
                           EcasEvent e, EcasPropertyDictionary props)
        {
            if (coll == null)
            {
                throw new ArgumentNullException("coll");
            }
            if (trigger == null)
            {
                throw new ArgumentNullException("trigger");
            }
            if (e == null)
            {
                throw new ArgumentNullException("e");
            }
            if (props == null)
            {
                throw new ArgumentNullException("props");
            }

            m_coll     = coll;
            m_trigger  = trigger;
            m_eOccured = e;
            m_props    = props;
        }
Exemplo n.º 2
0
        public EcasContext(EcasTriggerSystem coll, EcasTrigger trigger,
                           EcasEvent e)
        {
            if (coll == null)
            {
                throw new ArgumentNullException("coll");
            }
            if (trigger == null)
            {
                throw new ArgumentNullException("trigger");
            }
            if (e == null)
            {
                throw new ArgumentNullException("e");
            }

            m_coll     = coll;
            m_trigger  = trigger;
            m_eOccured = e;
        }