source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/obj/Debug/GeneratedInternalTypeHelper.g.i.cs@ 30126

Last change on this file since 30126 was 30126, checked in by davidb, 9 years ago

Some svn:ignore values to cover oof VS automatically generated folders

File size: 2.9 KB
Line 
1//------------------------------------------------------------------------------
2// <auto-generated>
3// This code was generated by a tool.
4// Runtime Version:4.0.30319.42000
5//
6// Changes to this file may cause incorrect behavior and will be lost if
7// the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11namespace XamlGeneratedNamespace {
12
13
14 /// <summary>
15 /// GeneratedInternalTypeHelper
16 /// </summary>
17 [System.Diagnostics.DebuggerNonUserCodeAttribute()]
18 [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
19 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
20 public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
21
22 /// <summary>
23 /// CreateInstance
24 /// </summary>
25 protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
26 return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
27 | (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
28 }
29
30 /// <summary>
31 /// GetPropertyValue
32 /// </summary>
33 protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
34 return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
35 }
36
37 /// <summary>
38 /// SetPropertyValue
39 /// </summary>
40 protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
41 propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
42 }
43
44 /// <summary>
45 /// CreateDelegate
46 /// </summary>
47 protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
48 return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
49 | (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
50 delegateType,
51 handler}, null)));
52 }
53
54 /// <summary>
55 /// AddEventHandler
56 /// </summary>
57 protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
58 eventInfo.AddEventHandler(target, handler);
59 }
60 }
61}
62
Note: See TracBrowser for help on using the repository browser.