예제 #1
0
        private void prepareForSet()
        {
            MethodInfo setMethod = Property.GetSetMethod();

            if (setMethod != null)
            {
                this.m_dynamicSetter = new DynamicExecutor(setMethod);
            }
            else
            {
                throw new NotSupportedException("Cannot set the property.");
            }
        }
예제 #2
0
        private void prepareForSet()
        {
            MethodInfo setMethod = Property.GetSetMethod();

            if (setMethod != null)
            {
                this.m_dynamicSetter = new DynamicExecutor(setMethod);
            }
            else
            {
                throw new NotSupportedException("Cannot set the property.");
            }
        }