Exemple #1
0
        /// <summary>
        /// �ʸ�FieldInfo,����@�ӷs��Field����
        /// </summary>
        /// <param name="fieldInfo">FieldInfo</param>
        public Field( System.Reflection.FieldInfo fieldInfo )
        {
            if (fieldInfo == null)
            {
                throw new ArgumentException("fieldInfo���ର��");
            }

            this.fieldInfo = fieldInfo;
            this.dynamicMemberHandle = new DynamicMemberHandle(fieldInfo);
        }
Exemple #2
0
        /// <summary>
        /// �ʸ�PropertyInfo,����@�ӷs��Property����
        /// </summary>
        /// <param name="propertyInfo">PropertyInfo</param>
        public Property( System.Reflection.PropertyInfo propertyInfo )
        {
            if (propertyInfo == null)
            {
                throw new ArgumentException("propertyInfo���ର��");
            }

            this.propertyInfo = propertyInfo;
            this.dynamicMemberHandle = new DynamicMemberHandle(propertyInfo);
        }