Esempio n. 1
0
        public ClrClass(string name, ClrProperty[] properties)
        {
            if (name == null)
            {
                throw new ArgumentNullException("name");
            }
            if (properties == null)
            {
                throw new ArgumentNullException("properties");
            }
            if (properties.Length == 0)
            {
                throw new ArgumentOutOfRangeException("properties");
            }

            this.Name       = NameProvider.ToClassName(name);
            this.Properties = properties;
        }