www.pudn.com > WPFIce-animation.rar > GeneratedInternalTypeHelper.g.cs, change:2010-12-31,size:2921b


//------------------------------------------------------------------------------ 
// <auto-generated> 
//     此代码由工具生成。 
//     运行时版本:2.0.50727.4952 
// 
//     对此文件的更改可能会导致不正确的行为,并且如果 
//     重新生成代码,这些更改将会丢失。 
// </auto-generated> 
//------------------------------------------------------------------------------ 
 
namespace XamlGeneratedNamespace { 
     
     
    /// <summary> 
    /// GeneratedInternalTypeHelper 
    /// </summary> 
    [System.Diagnostics.DebuggerNonUserCodeAttribute()] 
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] 
    public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper { 
         
        /// <summary> 
        /// CreateInstance 
        /// </summary> 
        protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) { 
            return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)  
                            | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture); 
        } 
         
        /// <summary> 
        /// GetPropertyValue 
        /// </summary> 
        protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) { 
            return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture); 
        } 
         
        /// <summary> 
        /// SetPropertyValue 
        /// </summary> 
        protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) { 
            propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture); 
        } 
         
        /// <summary> 
        /// CreateDelegate 
        /// </summary> 
        protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) { 
            return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod  
                            | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] { 
                        delegateType, 
                        handler}, null))); 
        } 
         
        /// <summary> 
        /// AddEventHandler 
        /// </summary> 
        protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) { 
            eventInfo.AddEventHandler(target, handler); 
        } 
    } 
}