protected IconContainer(IconContainer container)
        {
            if (container == null)
                throw new ArgumentNullException("container");

            if (container.Images == null)
                throw new InvalidOperationException("Container Images are null");

            Images = Images.Select(i => new IconImage(i)).ToArray();
        }
Beispiel #2
0
        protected IconContainer(IconContainer container)
        {
            if (container == null)
            {
                throw new ArgumentNullException("container");
            }

            if (container.Images == null)
            {
                throw new InvalidOperationException("Container Images are null");
            }

            Images = Images.Select(i => new IconImage(i)).ToArray();
        }