Пример #1
0
        public ClrProperty(ClrType type, string name)
        {
            if (type == null)
            {
                throw new ArgumentNullException("type");
            }
            if (name == null)
            {
                throw new ArgumentNullException("name");
            }

            this.Type = type;
            this.Name = NameProvider.ToPropertyName(name);
        }