Example #1
0
        public Part(Type type)
        {
            if (type == null) throw new ArgumentNullException();

            Type = type;
            Metadata = new PartMetadata(this);
        }
Example #2
0
        public Part(Type type)
        {
            if (type == null)
            {
                throw new ArgumentNullException();
            }

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