ComponentFactory.Krypton.Toolkit.PaletteRedirectCommon.PaletteRedirectCommon C# (CSharp) Method

PaletteRedirectCommon() public method

Initialize a new instance of the PaletteRedirectCommon class.
public PaletteRedirectCommon ( IPalette target, IPaletteTriple disabled, IPaletteTriple others ) : System
target IPalette Initial palette target for redirection.
disabled IPaletteTriple Redirection for disabled state requests.
others IPaletteTriple Redirection for all other state requests.
return System
        public PaletteRedirectCommon(IPalette target,
                                     IPaletteTriple disabled,
                                     IPaletteTriple others)
            : base(target)
        {
            Debug.Assert(disabled != null);
            Debug.Assert(others != null);

            // Remember state specific inheritance
            _disabled = disabled;
            _others = others;
        }