Exemple #1
0
        protected DrawCellBase(IEnumerable <IDrawCell <TGraphics> > chain, IPerCell v1)
        {
            _chain = chain;
            _v1    = v1;

            listen();
        }
Exemple #2
0
        protected DrawCellBase(IDrawCell <TGraphics> chain1, IPerCell v1)
        {
            if (chain1 != null)
            {
                _chain = new IDrawCell <TGraphics>[] { chain1 };                // TODO no alloc
            }
            _v1 = v1;

            listen();
        }