diff --git a/.vs/CaliburnMicro-Calculator/v15/.suo b/.vs/CaliburnMicro-Calculator/v15/.suo new file mode 100644 index 0000000..910314c Binary files /dev/null and b/.vs/CaliburnMicro-Calculator/v15/.suo differ diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json new file mode 100644 index 0000000..f8b4888 --- /dev/null +++ b/.vs/ProjectSettings.json @@ -0,0 +1,3 @@ +{ + "CurrentProjectSetting": null +} \ No newline at end of file diff --git a/.vs/config/applicationhost.config b/.vs/config/applicationhost.config new file mode 100644 index 0000000..46c8854 --- /dev/null +++ b/.vs/config/applicationhost.config @@ -0,0 +1,1025 @@ + + + + + + + +
+
+
+
+
+
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.vs/launch.vs.json b/.vs/launch.vs.json new file mode 100644 index 0000000..2c1a822 --- /dev/null +++ b/.vs/launch.vs.json @@ -0,0 +1,11 @@ +{ + "version": "0.2.1", + "defaults": {}, + "configurations": [ + { + "type": "managed", + "name": "E:\\GitHub\\CaliburnMicro-Calculator", + "project": "" + } + ] +} \ No newline at end of file diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..2703abf Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/ViewModels/CalculatorViewModel.cs b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/ViewModels/CalculatorViewModel.cs index a2dcc83..685d9b7 100644 --- a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/ViewModels/CalculatorViewModel.cs +++ b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/ViewModels/CalculatorViewModel.cs @@ -73,7 +73,7 @@ public async void Minus(double left, double right) Result = left - right; } - public async void Multipy(double left, double right) + public async void Multiply(double left, double right) { Result = left * right; } diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/App.g.cs b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/App.g.cs new file mode 100644 index 0000000..7b5994e --- /dev/null +++ b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/App.g.cs @@ -0,0 +1,77 @@ +#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "03935006F5F6FBA9207367BA39BB44A45C7D7667" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using CaliburnMicro_Calculator; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace CaliburnMicro_Calculator { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/CaliburnMicro-Calculator;component/app.xaml", System.UriKind.Relative); + + #line 1 "..\..\App.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public static void Main() { + CaliburnMicro_Calculator.App app = new CaliburnMicro_Calculator.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/App.g.i.cs b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/App.g.i.cs new file mode 100644 index 0000000..7b5994e --- /dev/null +++ b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/App.g.i.cs @@ -0,0 +1,77 @@ +#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "03935006F5F6FBA9207367BA39BB44A45C7D7667" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using CaliburnMicro_Calculator; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace CaliburnMicro_Calculator { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/CaliburnMicro-Calculator;component/app.xaml", System.UriKind.Relative); + + #line 1 "..\..\App.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public static void Main() { + CaliburnMicro_Calculator.App app = new CaliburnMicro_Calculator.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/CaliburnMicro_Calculator.csproj.CoreCompileInputs.cache b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/CaliburnMicro_Calculator.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..70a2641 --- /dev/null +++ b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/CaliburnMicro_Calculator.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +2a8ec47ef7f6de6045613f0e9597a9ca0d37f00e diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/CaliburnMicro_Calculator.csproj.FileListAbsolute.txt b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/CaliburnMicro_Calculator.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..5d84ec4 --- /dev/null +++ b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/CaliburnMicro_Calculator.csproj.FileListAbsolute.txt @@ -0,0 +1,6 @@ +E:\GitHub\CaliburnMicro-Calculator\CaliburnMicro-Calculator\CaliburnMicro-Calculator\obj\Debug\CaliburnMicro_Calculator.csprojAssemblyReference.cache +E:\GitHub\CaliburnMicro-Calculator\CaliburnMicro-Calculator\CaliburnMicro-Calculator\obj\Debug\Views\ShellView.g.cs +E:\GitHub\CaliburnMicro-Calculator\CaliburnMicro-Calculator\CaliburnMicro-Calculator\obj\Debug\App.g.cs +E:\GitHub\CaliburnMicro-Calculator\CaliburnMicro-Calculator\CaliburnMicro-Calculator\obj\Debug\GeneratedInternalTypeHelper.g.cs +E:\GitHub\CaliburnMicro-Calculator\CaliburnMicro-Calculator\CaliburnMicro-Calculator\obj\Debug\CaliburnMicro-Calculator_MarkupCompile.cache +E:\GitHub\CaliburnMicro-Calculator\CaliburnMicro-Calculator\CaliburnMicro-Calculator\obj\Debug\CaliburnMicro-Calculator_MarkupCompile.lref diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/CaliburnMicro_Calculator.csprojAssemblyReference.cache b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/CaliburnMicro_Calculator.csprojAssemblyReference.cache new file mode 100644 index 0000000..fe10704 Binary files /dev/null and b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/CaliburnMicro_Calculator.csprojAssemblyReference.cache differ diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/GeneratedInternalTypeHelper.g.cs b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/GeneratedInternalTypeHelper.g.cs new file mode 100644 index 0000000..136dd1b --- /dev/null +++ b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/GeneratedInternalTypeHelper.g.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace XamlGeneratedNamespace { + + + /// + /// GeneratedInternalTypeHelper + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [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); + } + } +} + diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/GeneratedInternalTypeHelper.g.i.cs b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/GeneratedInternalTypeHelper.g.i.cs new file mode 100644 index 0000000..136dd1b --- /dev/null +++ b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/GeneratedInternalTypeHelper.g.i.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace XamlGeneratedNamespace { + + + /// + /// GeneratedInternalTypeHelper + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [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); + } + } +} + diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/Views/ShellView.g.cs b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/Views/ShellView.g.cs new file mode 100644 index 0000000..78a13f6 --- /dev/null +++ b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/Views/ShellView.g.cs @@ -0,0 +1,100 @@ +#pragma checksum "..\..\..\Views\ShellView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4DBB7347BCB969D05271487B6961CFF0EFF76F87" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using CaliburnMicro_Calculator.Views; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace CaliburnMicro_Calculator.Views { + + + /// + /// ShellView + /// + public partial class ShellView : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 12 "..\..\..\Views\ShellView.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button ShowCalculator; + + #line default + #line hidden + + + #line 13 "..\..\..\Views\ShellView.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ContentControl ActiveItem; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/CaliburnMicro-Calculator;component/views/shellview.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\Views\ShellView.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.ShowCalculator = ((System.Windows.Controls.Button)(target)); + return; + case 2: + this.ActiveItem = ((System.Windows.Controls.ContentControl)(target)); + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/Views/ShellView.g.i.cs b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/Views/ShellView.g.i.cs new file mode 100644 index 0000000..78a13f6 --- /dev/null +++ b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Debug/Views/ShellView.g.i.cs @@ -0,0 +1,100 @@ +#pragma checksum "..\..\..\Views\ShellView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4DBB7347BCB969D05271487B6961CFF0EFF76F87" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using CaliburnMicro_Calculator.Views; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace CaliburnMicro_Calculator.Views { + + + /// + /// ShellView + /// + public partial class ShellView : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 12 "..\..\..\Views\ShellView.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button ShowCalculator; + + #line default + #line hidden + + + #line 13 "..\..\..\Views\ShellView.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ContentControl ActiveItem; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/CaliburnMicro-Calculator;component/views/shellview.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\Views\ShellView.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.ShowCalculator = ((System.Windows.Controls.Button)(target)); + return; + case 2: + this.ActiveItem = ((System.Windows.Controls.ContentControl)(target)); + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Release/App.g.cs b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Release/App.g.cs new file mode 100644 index 0000000..7b5994e --- /dev/null +++ b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Release/App.g.cs @@ -0,0 +1,77 @@ +#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "03935006F5F6FBA9207367BA39BB44A45C7D7667" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using CaliburnMicro_Calculator; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace CaliburnMicro_Calculator { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/CaliburnMicro-Calculator;component/app.xaml", System.UriKind.Relative); + + #line 1 "..\..\App.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public static void Main() { + CaliburnMicro_Calculator.App app = new CaliburnMicro_Calculator.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Release/CaliburnMicro_Calculator.csproj.CoreCompileInputs.cache b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Release/CaliburnMicro_Calculator.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..08a5ffc --- /dev/null +++ b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Release/CaliburnMicro_Calculator.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +bb58329bd11fc3ad7ad5bdf698eb55f8bcec4e58 diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Release/GeneratedInternalTypeHelper.g.cs b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Release/GeneratedInternalTypeHelper.g.cs new file mode 100644 index 0000000..136dd1b --- /dev/null +++ b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Release/GeneratedInternalTypeHelper.g.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace XamlGeneratedNamespace { + + + /// + /// GeneratedInternalTypeHelper + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [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); + } + } +} + diff --git a/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Release/Views/ShellView.g.cs b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Release/Views/ShellView.g.cs new file mode 100644 index 0000000..78a13f6 --- /dev/null +++ b/CaliburnMicro-Calculator/CaliburnMicro-Calculator/obj/Release/Views/ShellView.g.cs @@ -0,0 +1,100 @@ +#pragma checksum "..\..\..\Views\ShellView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4DBB7347BCB969D05271487B6961CFF0EFF76F87" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using CaliburnMicro_Calculator.Views; +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace CaliburnMicro_Calculator.Views { + + + /// + /// ShellView + /// + public partial class ShellView : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 12 "..\..\..\Views\ShellView.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Button ShowCalculator; + + #line default + #line hidden + + + #line 13 "..\..\..\Views\ShellView.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.ContentControl ActiveItem; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/CaliburnMicro-Calculator;component/views/shellview.xaml", System.UriKind.Relative); + + #line 1 "..\..\..\Views\ShellView.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + this.ShowCalculator = ((System.Windows.Controls.Button)(target)); + return; + case 2: + this.ActiveItem = ((System.Windows.Controls.ContentControl)(target)); + return; + } + this._contentLoaded = true; + } + } +} +