//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:2.0.50727.3603 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace XamlGeneratedNamespace { /// /// GeneratedInternalTypeHelper /// [System.Diagnostics.DebuggerNonUserCodeAttribute()] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper { /// /// CreateInstance /// 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); } /// /// GetPropertyValue /// 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); } /// /// SetPropertyValue /// 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); } /// /// CreateDelegate /// 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))); } /// /// AddEventHandler /// protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) { eventInfo.AddEventHandler(target, handler); } } }