Stetic.TypedPropertyDescriptor.SetRuntimeValue C# (CSharp) 메소드

SetRuntimeValue() 공개 메소드

public SetRuntimeValue ( object obj, object value ) : void
obj object
value object
리턴 void
        public override void SetRuntimeValue(object obj, object value)
        {
            if (runtimePropertyInfo == null)
                SetupRuntimeProperties ();
            if (runtimeMemberInfo != null)
                obj = runtimeMemberInfo.GetValue (obj, null);

            if (runtimePropertyInfo.PropertyType.IsInstanceOfType (value))
                runtimePropertyInfo.SetValue (obj, value, null);
        }