Microscopic Traffic Simulator

- Main Page
- Packages
- Classes
- Files

- File List

GeneratedInternalTypeHelper.g.cs
Go to the documentation of this file.
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
11 namespace XamlGeneratedNamespace {
12
13
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
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
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
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
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
57 protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
58 eventInfo.AddEventHandler(target, handler);
59 }
60 }
61 }
62
XamlGeneratedNamespace.GeneratedInternalTypeHelper.GetPropertyValue
override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture)
GetPropertyValue
Definition: GeneratedInternalTypeHelper.g.cs:33
System
XamlGeneratedNamespace.GeneratedInternalTypeHelper.AddEventHandler
override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler)
AddEventHandler
Definition: GeneratedInternalTypeHelper.g.cs:57
XamlGeneratedNamespace.GeneratedInternalTypeHelper.CreateDelegate
override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler)
CreateDelegate
Definition: GeneratedInternalTypeHelper.g.cs:47
XamlGeneratedNamespace.GeneratedInternalTypeHelper
GeneratedInternalTypeHelper
Definition: GeneratedInternalTypeHelper.g.cs:20
XamlGeneratedNamespace.GeneratedInternalTypeHelper.SetPropertyValue
override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture)
SetPropertyValue
Definition: GeneratedInternalTypeHelper.g.cs:40
XamlGeneratedNamespace
Definition: GeneratedInternalTypeHelper.g.cs:11
XamlGeneratedNamespace.GeneratedInternalTypeHelper.CreateInstance
override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture)
CreateInstance
Definition: GeneratedInternalTypeHelper.g.cs:25