Пример #1
0
        public Part(Type type)
        {
            if (type == null) throw new ArgumentNullException();

            Type = type;
            Metadata = new PartMetadata(this);
        }
Пример #2
0
        public Part(Type type)
        {
            if (type == null)
            {
                throw new ArgumentNullException();
            }

            Type     = type;
            Metadata = new PartMetadata(this);
        }