Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

DataTemplate selector with caliburn.micro

  • Loading branch information...
commit a4f324d857e5ebf0044a70383735b55937eb5055 1 parent 045daaa
@mikoskinen authored
Showing with 14,792 additions and 0 deletions.
  1. +22 −0 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector.sln
  2. +11 −0 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/App.xaml
  3. +12 −0 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/App.xaml.cs
  4. BIN  caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/ApplicationIcon.png
  5. BIN  caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/Background.png
  6. +32 −0 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/Bootstrapper.cs
  7. +108 −0 ...burn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/Caliburn.Micro/ContainerExtensions.cs
  8. +87 −0 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/Caliburn.Micro/ExtensionMethods.cs
  9. +206 −0 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/Caliburn.Micro/SimpleContainer.cs
  10. +42 −0 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/MainPage.xaml
  11. +24 −0 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/MainPage.xaml.cs
  12. +13 −0 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/MainPageViewModel.cs
  13. +6 −0 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/Properties/AppManifest.xml
  14. +37 −0 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/Properties/AssemblyInfo.cs
  15. +35 −0 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/Properties/WMAppManifest.xml
  16. BIN  caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/SplashScreenImage.jpg
  17. +114 −0 ...icro-datatemplate-selector/caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector.csproj
  18. +5 −0 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/packages.config
  19. BIN  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/Caliburn.Micro.1.2.0.nupkg
  20. BIN  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/Net40/Caliburn.Micro.dll
  21. BIN  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/Net40/Caliburn.Micro.pdb
  22. +2,422 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/Net40/Caliburn.Micro.xml
  23. BIN  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/Net40/System.Windows.Interactivity.dll
  24. +1,072 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/Net40/System.Windows.Interactivity.xml
  25. BIN  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40-wp/Caliburn.Micro.Extensions.dll
  26. BIN  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40-wp/Caliburn.Micro.Extensions.pdb
  27. +900 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40-wp/Caliburn.Micro.Extensions.xml
  28. BIN  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40-wp/Caliburn.Micro.dll
  29. BIN  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40-wp/Caliburn.Micro.pdb
  30. +2,830 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40-wp/Caliburn.Micro.xml
  31. BIN  ...burn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40-wp/System.Windows.Interactivity.dll
  32. +964 −0 ...burn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40-wp/System.Windows.Interactivity.xml
  33. BIN  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/Caliburn.Micro.dll
  34. BIN  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/Caliburn.Micro.pdb
  35. +2,439 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/Caliburn.Micro.xml
  36. BIN  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/System.Windows.Controls.dll
  37. +1,726 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/System.Windows.Controls.xml
  38. BIN  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/System.Windows.Interactivity.dll
  39. +1,025 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/System.Windows.Interactivity.xml
  40. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/ar/System.Windows.Controls.resources.dll
  41. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/bg/System.Windows.Controls.resources.dll
  42. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/ca/System.Windows.Controls.resources.dll
  43. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/cs/System.Windows.Controls.resources.dll
  44. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/da/System.Windows.Controls.resources.dll
  45. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/de/System.Windows.Controls.resources.dll
  46. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/el/System.Windows.Controls.resources.dll
  47. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/es/System.Windows.Controls.resources.dll
  48. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/et/System.Windows.Controls.resources.dll
  49. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/eu/System.Windows.Controls.resources.dll
  50. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/fi/System.Windows.Controls.resources.dll
  51. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/fr/System.Windows.Controls.resources.dll
  52. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/he/System.Windows.Controls.resources.dll
  53. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/hr/System.Windows.Controls.resources.dll
  54. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/hu/System.Windows.Controls.resources.dll
  55. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/id/System.Windows.Controls.resources.dll
  56. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/it/System.Windows.Controls.resources.dll
  57. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/ja/System.Windows.Controls.resources.dll
  58. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/ko/System.Windows.Controls.resources.dll
  59. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/lt/System.Windows.Controls.resources.dll
  60. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/lv/System.Windows.Controls.resources.dll
  61. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/ms/System.Windows.Controls.resources.dll
  62. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/nl/System.Windows.Controls.resources.dll
  63. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/no/System.Windows.Controls.resources.dll
  64. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/pl/System.Windows.Controls.resources.dll
  65. BIN  ...ro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/pt-BR/System.Windows.Controls.resources.dll
  66. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/pt/System.Windows.Controls.resources.dll
  67. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/ro/System.Windows.Controls.resources.dll
  68. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/ru/System.Windows.Controls.resources.dll
  69. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/sk/System.Windows.Controls.resources.dll
  70. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/sl/System.Windows.Controls.resources.dll
  71. BIN  ...tatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/sr-Cyrl-CS/System.Windows.Controls.resources.dll
  72. BIN  ...tatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/sr-Latn-CS/System.Windows.Controls.resources.dll
  73. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/sv/System.Windows.Controls.resources.dll
  74. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/th/System.Windows.Controls.resources.dll
  75. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/tr/System.Windows.Controls.resources.dll
  76. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/uk/System.Windows.Controls.resources.dll
  77. BIN  ...micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/vi/System.Windows.Controls.resources.dll
  78. BIN  ...-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/zh-Hans/System.Windows.Controls.resources.dll
  79. BIN  ...-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/SL40/zh-Hant/System.Windows.Controls.resources.dll
  80. +56 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/tools/NET40/AppBootstrapper.cs
  81. +3 −0  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/tools/NET40/IShell.cs
  82. +12 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/tools/NET40/ShellView.xaml
  83. +6 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/tools/NET40/ShellViewModel.cs
  84. +72 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/tools/SL40-WP/AppBootstrapper.cs
  85. +3 −0  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/tools/SL40-WP/MainPageViewModel.cs
  86. +56 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/tools/SL40/AppBootstrapper.cs
  87. +3 −0  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/tools/SL40/IShell.cs
  88. +12 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/tools/SL40/ShellView.xaml
  89. +6 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/tools/SL40/ShellViewModel.cs
  90. +26 −0 caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/tools/install.ps1
  91. BIN  ...rn-micro-datatemplate-selector/packages/Caliburn.Micro.Container.1.2.0/Caliburn.Micro.Container.1.2.0.nupkg
  92. +108 −0 ...datatemplate-selector/packages/Caliburn.Micro.Container.1.2.0/content/Caliburn.Micro/ContainerExtensions.cs
  93. +87 −0 ...ro-datatemplate-selector/packages/Caliburn.Micro.Container.1.2.0/content/Caliburn.Micro/ExtensionMethods.cs
  94. +206 −0 ...cro-datatemplate-selector/packages/Caliburn.Micro.Container.1.2.0/content/Caliburn.Micro/SimpleContainer.cs
  95. BIN  caliburn-micro-datatemplate-selector/packages/Caliburn.Micro.Container.1.2.0/nuget.exe
  96. +4 −0 caliburn-micro-datatemplate-selector/packages/repositories.config
View
22 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "caliburn-micro-datatemplate-selector", "caliburn-micro-datatemplate-selector\caliburn-micro-datatemplate-selector.csproj", "{9A26B2AB-0A73-4148-A814-2A3965956C90}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {9A26B2AB-0A73-4148-A814-2A3965956C90}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9A26B2AB-0A73-4148-A814-2A3965956C90}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9A26B2AB-0A73-4148-A814-2A3965956C90}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+ {9A26B2AB-0A73-4148-A814-2A3965956C90}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9A26B2AB-0A73-4148-A814-2A3965956C90}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9A26B2AB-0A73-4148-A814-2A3965956C90}.Release|Any CPU.Deploy.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
View
11 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/App.xaml
@@ -0,0 +1,11 @@
+<Application
+ x:Class="caliburn_micro_datatemplate_selector.App"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:local="clr-namespace:caliburn_micro_datatemplate_selector">
+
+ <Application.Resources>
+ <local:MyBootstrapper x:Key="bootstrapper"/>
+ </Application.Resources>
+
+</Application>
View
12 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/App.xaml.cs
@@ -0,0 +1,12 @@
+using System.Windows;
+
+namespace caliburn_micro_datatemplate_selector
+{
+ public partial class App : Application
+ {
+ public App()
+ {
+ InitializeComponent();
+ }
+ }
+}
View
BIN  ...burn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/ApplicationIcon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/Background.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
32 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/Bootstrapper.cs
@@ -0,0 +1,32 @@
+using Caliburn.Micro;
+
+namespace caliburn_micro_datatemplate_selector
+{
+ public class MyBootstrapper : Bootstrapper
+ {
+ private SimpleContainer container;
+ protected override void Configure()
+ {
+ container = new SimpleContainer();
+
+ container.PerRequest<MainPageViewModel>();
+
+ Caliburn.Micro.ViewLocator.NameTransformer.AddRule("");
+ }
+
+ protected override object GetInstance(System.Type service, string key)
+ {
+ return container.GetInstance(service, key);
+ }
+
+ protected override System.Collections.Generic.IEnumerable<object> GetAllInstances(System.Type service)
+ {
+ return container.GetAllInstances(service);
+ }
+
+ protected override void BuildUp(object instance)
+ {
+ container.BuildUp(instance);
+ }
+ }
+}
View
108 ...plate-selector/caliburn-micro-datatemplate-selector/Caliburn.Micro/ContainerExtensions.cs
@@ -0,0 +1,108 @@
+namespace Caliburn.Micro {
+ using System;
+ using System.Linq;
+ using System.Reflection;
+
+ /// <summary>
+ /// Extension methods for the <see cref="SimpleContainer"/>.
+ /// </summary>
+ public static class ContainerExtensions {
+ /// <summary>
+ /// Registers a singleton.
+ /// </summary>
+ /// <typeparam name="TImplementation">The type of the implementation.</typeparam>
+ /// <param name="container">The container.</param>
+ /// <returns>The container.</returns>
+ public static SimpleContainer Singleton<TImplementation>(this SimpleContainer container) {
+ container.RegisterSingleton(typeof(TImplementation), null, typeof(TImplementation));
+ return container;
+ }
+
+ /// <summary>
+ /// Registers a singleton.
+ /// </summary>
+ /// <typeparam name="TService">The type of the service.</typeparam>
+ /// <typeparam name="TImplementation">The type of the implementation.</typeparam>
+ /// <param name="container">The container.</param>
+ /// <returns>The container.</returns>
+ public static SimpleContainer Singleton<TService, TImplementation>(this SimpleContainer container)
+ where TImplementation : TService {
+ container.RegisterSingleton(typeof(TService), null, typeof(TImplementation));
+ return container;
+ }
+
+ /// <summary>
+ /// Registers an service to be created on each request.
+ /// </summary>
+ /// <typeparam name="TService">The type of the service.</typeparam>
+ /// <typeparam name="TImplementation">The type of the implementation.</typeparam>
+ /// <param name="container">The container.</param>
+ /// <returns>The container.</returns>
+ public static SimpleContainer PerRequest<TService, TImplementation>(this SimpleContainer container)
+ where TImplementation : TService {
+ container.RegisterPerRequest(typeof(TService), null, typeof(TImplementation));
+ return container;
+ }
+
+ /// <summary>
+ /// Registers an service to be created on each request.
+ /// </summary>
+ /// <typeparam name="TImplementation">The type of the implementation.</typeparam>
+ /// <param name="container">The container.</param>
+ /// <returns>The container.</returns>
+ public static SimpleContainer PerRequest<TImplementation>(this SimpleContainer container) {
+ container.RegisterPerRequest(typeof(TImplementation), null, typeof(TImplementation));
+ return container;
+ }
+
+ /// <summary>
+ /// Registers an instance with the container.
+ /// </summary>
+ /// <typeparam name="TService">The type of the service.</typeparam>
+ /// <param name="container">The container.</param>
+ /// <param name="instance">The instance.</param>
+ /// <returns>The container.</returns>
+ public static SimpleContainer Instance<TService>(this SimpleContainer container, TService instance) {
+ container.RegisterInstance(typeof(TService), null, instance);
+ return container;
+ }
+
+ /// <summary>
+ /// Registers a custom service handler with the container.
+ /// </summary>
+ /// <typeparam name="TService">The type of the service.</typeparam>
+ /// <param name="container">The container.</param>
+ /// <param name="handler">The handler.</param>
+ /// <returns>The container.</returns>
+ public static SimpleContainer Handler<TService>(this SimpleContainer container, Func<SimpleContainer, object> handler) {
+ container.RegisterHandler(typeof(TService), null, handler);
+ return container;
+ }
+
+ /// <summary>
+ /// Registers all specified types in an assembly as singletong in the container.
+ /// </summary>
+ /// <typeparam name="TService">The type of the service.</typeparam>
+ /// <param name="container">The container.</param>
+ /// <param name="assembly">The assembly.</param>
+ /// <param name="filter">The type filter.</param>
+ /// <returns>The container.</returns>
+ public static SimpleContainer AllTypesOf<TService>(this SimpleContainer container, Assembly assembly, Func<Type, bool> filter = null) {
+ if(filter == null)
+ filter = type => true;
+
+ var types = from type in assembly.GetTypes()
+ where typeof(TService).IsAssignableFrom(type)
+ && !type.IsAbstract
+ && !type.IsInterface
+ && filter(type)
+ select type;
+
+ foreach(var type in types) {
+ container.RegisterSingleton(typeof(TService), null, type);
+ }
+
+ return container;
+ }
+ }
+}
View
87 ...template-selector/caliburn-micro-datatemplate-selector/Caliburn.Micro/ExtensionMethods.cs
@@ -0,0 +1,87 @@
+namespace Caliburn.Micro
+{
+ using System;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Linq.Expressions;
+ using System.Reflection;
+
+ /// <summary>
+ /// Generic extension methods used by the framework.
+ /// </summary>
+ public static class ExtensionMethods
+ {
+ /// <summary>
+ /// Gets all the attributes of a particular type.
+ /// </summary>
+ /// <typeparam name="T">The type of attributes to get.</typeparam>
+ /// <param name="member">The member to inspect for attributes.</param>
+ /// <param name="inherit">Whether or not to search for inherited attributes.</param>
+ /// <returns>The list of attributes found.</returns>
+ public static IEnumerable<T> GetAttributes<T>(this MemberInfo member, bool inherit) {
+ return Attribute.GetCustomAttributes(member, inherit).OfType<T>();
+ }
+
+ /// <summary>
+ /// Applies the action to each element in the list.
+ /// </summary>
+ /// <typeparam name="T">The enumerable item's type.</typeparam>
+ /// <param name="enumerable">The elements to enumerate.</param>
+ /// <param name="action">The action to apply to each item in the list.</param>
+ public static void Apply<T>(this IEnumerable<T> enumerable, Action<T> action) {
+ foreach(var item in enumerable)
+ action(item);
+ }
+
+ /// <summary>
+ /// Converts an expression into a <see cref="MemberInfo"/>.
+ /// </summary>
+ /// <param name="expression">The expression to convert.</param>
+ /// <returns>The member info.</returns>
+ public static MemberInfo GetMemberInfo(this Expression expression) {
+ var lambda = (LambdaExpression)expression;
+
+ MemberExpression memberExpression;
+ if(lambda.Body is UnaryExpression) {
+ var unaryExpression = (UnaryExpression)lambda.Body;
+ memberExpression = (MemberExpression)unaryExpression.Operand;
+ }
+ else
+ memberExpression = (MemberExpression)lambda.Body;
+
+ return memberExpression.Member;
+ }
+
+#if WP7
+ //Method missing in WP7 Linq
+
+ /// <summary>
+ /// Merges two sequences by using the specified predicate function.
+ /// </summary>
+ /// <typeparam name="TFirst">The type of the elements of the first input sequence.</typeparam>
+ /// <typeparam name="TSecond">The type of the elements of the second input sequence.</typeparam>
+ /// <typeparam name="TResult">The type of the elements of the result sequence.</typeparam>
+ /// <param name="first">The first sequence to merge.</param>
+ /// <param name="second">The second sequence to merge.</param>
+ /// <param name="resultSelector"> A function that specifies how to merge the elements from the two sequences.</param>
+ /// <returns>An System.Collections.Generic.IEnumerable&lt;T&gt; that contains merged elements of two input sequences.</returns>
+ public static IEnumerable<TResult> Zip<TFirst, TSecond, TResult>(this IEnumerable<TFirst> first, IEnumerable<TSecond> second, Func<TFirst, TSecond, TResult> resultSelector)
+ {
+ if (first == null)
+ throw new ArgumentNullException("first");
+ if (second == null)
+ throw new ArgumentNullException("second");
+ if (resultSelector == null)
+ throw new ArgumentNullException("resultSelector");
+
+ var enumFirst = first.GetEnumerator();
+ var enumSecond = second.GetEnumerator();
+
+ while (enumFirst.MoveNext() && enumSecond.MoveNext()) {
+ yield return resultSelector(enumFirst.Current, enumSecond.Current);
+ }
+ }
+
+#endif
+ }
+}
View
206 ...atemplate-selector/caliburn-micro-datatemplate-selector/Caliburn.Micro/SimpleContainer.cs
@@ -0,0 +1,206 @@
+namespace Caliburn.Micro {
+ using System;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Reflection;
+
+ /// <summary>
+ /// A simple IoC container.
+ /// </summary>
+ public class SimpleContainer {
+ readonly List<ContainerEntry> entries;
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref = "SimpleContainer" /> class.
+ /// </summary>
+ public SimpleContainer() {
+ entries = new List<ContainerEntry>();
+ }
+
+ SimpleContainer(IEnumerable<ContainerEntry> entries) {
+ this.entries = new List<ContainerEntry>(entries);
+ }
+
+ /// <summary>
+ /// Registers the instance.
+ /// </summary>
+ /// <param name = "service">The service.</param>
+ /// <param name = "key">The key.</param>
+ /// <param name = "implementation">The implementation.</param>
+ public void RegisterInstance(Type service, string key, object implementation) {
+ RegisterHandler(service, key, container => implementation);
+ }
+
+ /// <summary>
+ /// Registers the class so that a new instance is created on every request.
+ /// </summary>
+ /// <param name = "service">The service.</param>
+ /// <param name = "key">The key.</param>
+ /// <param name = "implementation">The implementation.</param>
+ public void RegisterPerRequest(Type service, string key, Type implementation) {
+ RegisterHandler(service, key, container => container.BuildInstance(implementation));
+ }
+
+ /// <summary>
+ /// Registers the class so that it is created once, on first request, and the same instance is returned to all requestors thereafter.
+ /// </summary>
+ /// <param name = "service">The service.</param>
+ /// <param name = "key">The key.</param>
+ /// <param name = "implementation">The implementation.</param>
+ public void RegisterSingleton(Type service, string key, Type implementation) {
+ object singleton = null;
+ RegisterHandler(service, key, container => singleton ?? (singleton = container.BuildInstance(implementation)));
+ }
+
+ /// <summary>
+ /// Registers a custom handler for serving requests from the container.
+ /// </summary>
+ /// <param name = "service">The service.</param>
+ /// <param name = "key">The key.</param>
+ /// <param name = "handler">The handler.</param>
+ public void RegisterHandler(Type service, string key, Func<SimpleContainer, object> handler) {
+ GetOrCreateEntry(service, key).Add(handler);
+ }
+
+ /// <summary>
+ /// Requests an instance.
+ /// </summary>
+ /// <param name = "service">The service.</param>
+ /// <param name = "key">The key.</param>
+ /// <returns>The instance, or null if a handler is not found.</returns>
+ public object GetInstance(Type service, string key) {
+ var entry = GetEntry(service, key);
+ if(entry != null) {
+ return entry.Single()(this);
+ }
+
+ if(typeof(Delegate).IsAssignableFrom(service)) {
+ var typeToCreate = service.GetGenericArguments()[0];
+ var factoryFactoryType = typeof(FactoryFactory<>).MakeGenericType(typeToCreate);
+ var factoryFactoryHost = Activator.CreateInstance(factoryFactoryType);
+ var factoryFactoryMethod = factoryFactoryType.GetMethod("Create");
+ return factoryFactoryMethod.Invoke(factoryFactoryHost, new object[] { this });
+ }
+
+ if(typeof(IEnumerable).IsAssignableFrom(service)) {
+ var listType = service.GetGenericArguments()[0];
+ var instances = GetAllInstances(listType).ToList();
+ var array = Array.CreateInstance(listType, instances.Count);
+
+ for(var i = 0; i < array.Length; i++) {
+ array.SetValue(instances[i], i);
+ }
+
+ return array;
+ }
+
+ return null;
+ }
+
+ /// <summary>
+ /// Requests all instances of a given type.
+ /// </summary>
+ /// <param name = "service">The service.</param>
+ /// <returns>All the instances or an empty enumerable if none are found.</returns>
+ public IEnumerable<object> GetAllInstances(Type service) {
+ var entry = GetEntry(service, null);
+ return entry != null ? entry.Select(x => x(this)) : new object[0];
+ }
+
+ /// <summary>
+ /// Pushes dependencies into an existing instance based on interface properties with setters.
+ /// </summary>
+ /// <param name = "instance">The instance.</param>
+ public void BuildUp(object instance) {
+ var injectables = from property in instance.GetType().GetProperties()
+ where property.CanRead && property.CanWrite && property.PropertyType.IsInterface
+ select property;
+
+ foreach(var propertyInfo in injectables) {
+ var injection = GetAllInstances(propertyInfo.PropertyType).ToArray();
+ if(injection.Any()) {
+ propertyInfo.SetValue(instance, injection.First(), null);
+ }
+ }
+ }
+
+ /// <summary>
+ /// Creates a child container.
+ /// </summary>
+ /// <returns>A new container.</returns>
+ public SimpleContainer CreateChildContainer() {
+ return new SimpleContainer(entries);
+ }
+
+ ContainerEntry GetOrCreateEntry(Type service, string key) {
+ var entry = GetEntry(service, key);
+ if(entry == null) {
+ entry = new ContainerEntry { Service = service, Key = key };
+ entries.Add(entry);
+ }
+
+ return entry;
+ }
+
+ ContainerEntry GetEntry(Type service, string key) {
+ return service == null
+ ? entries.Where(x => x.Key == key).FirstOrDefault()
+ : entries.Where(x => x.Service == service && x.Key == key).FirstOrDefault();
+ }
+
+ /// <summary>
+ /// Actually does the work of creating the instance and satisfying it's constructor dependencies.
+ /// </summary>
+ /// <param name = "type">The type.</param>
+ /// <returns></returns>
+ protected object BuildInstance(Type type) {
+ var args = DetermineConstructorArgs(type);
+ return ActivateInstance(type, args);
+ }
+
+ /// <summary>
+ /// Creates an instance of the type with the specified constructor arguments.
+ /// </summary>
+ /// <param name = "type">The type.</param>
+ /// <param name = "args">The constructor args.</param>
+ /// <returns>The created instance.</returns>
+ protected virtual object ActivateInstance(Type type, object[] args) {
+ var instance = args.Length > 0 ? Activator.CreateInstance(type, args) : Activator.CreateInstance(type);
+ Activated(instance);
+ return instance;
+ }
+
+ /// <summary>
+ /// Occurs when a new instance is created.
+ /// </summary>
+ public event Action<object> Activated = delegate { };
+
+ object[] DetermineConstructorArgs(Type implementation) {
+ var args = new List<object>();
+ var constructor = SelectEligibleConstructor(implementation);
+
+ if(constructor != null)
+ args.AddRange(constructor.GetParameters().Select(info => GetInstance(info.ParameterType, null)));
+
+ return args.ToArray();
+ }
+
+ static ConstructorInfo SelectEligibleConstructor(Type type) {
+ return (from c in type.GetConstructors()
+ orderby c.GetParameters().Length descending
+ select c).FirstOrDefault();
+ }
+
+ class ContainerEntry : List<Func<SimpleContainer, object>> {
+ public string Key;
+ public Type Service;
+ }
+
+ class FactoryFactory<T> {
+ public Func<T> Create(SimpleContainer container) {
+ return () => (T)container.GetInstance(typeof(T), null);
+ }
+ }
+ }
+}
View
42 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/MainPage.xaml
@@ -0,0 +1,42 @@
+<phone:PhoneApplicationPage
+ x:Class="caliburn_micro_datatemplate_selector.MainPage"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
+ xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
+ FontFamily="{StaticResource PhoneFontFamilyNormal}"
+ FontSize="{StaticResource PhoneFontSizeNormal}"
+ Foreground="{StaticResource PhoneForegroundBrush}"
+ SupportedOrientations="Portrait" Orientation="Portrait"
+ shell:SystemTray.IsVisible="True">
+
+ <!--LayoutRoot is the root grid where all page content is placed-->
+ <Grid x:Name="LayoutRoot" Background="Transparent">
+ <Grid.RowDefinitions>
+ <RowDefinition Height="Auto"/>
+ <RowDefinition Height="*"/>
+ </Grid.RowDefinitions>
+
+ <!--TitlePanel contains the name of the application and page title-->
+ <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
+ <TextBlock x:Name="ApplicationTitle" Text="CONTENT" Style="{StaticResource PhoneTextNormalStyle}"/>
+ <TextBlock x:Name="PageTitle" Text="files and folders" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
+ </StackPanel>
+
+ <!--ContentPanel - place additional content here-->
+ <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
+ <Button x:Name="Huh" VerticalAlignment="Top" Content="he"/>
+ <ListBox x:Name="Items">
+ <ListBox.ItemTemplate>
+ <DataTemplate>
+ <TextBlock Text="duh" />
+ </DataTemplate>
+ </ListBox.ItemTemplate>
+ </ListBox>
+ </Grid>
+ </Grid>
+
+</phone:PhoneApplicationPage>
View
24 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/MainPage.xaml.cs
@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Microsoft.Phone.Controls;
+
+namespace caliburn_micro_datatemplate_selector
+{
+ public partial class MainPage : PhoneApplicationPage
+ {
+ // Constructor
+ public MainPage()
+ {
+ InitializeComponent();
+ }
+ }
+}
View
13 ...urn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/MainPageViewModel.cs
@@ -0,0 +1,13 @@
+using System.Windows;
+using Caliburn.Micro;
+
+namespace caliburn_micro_datatemplate_selector
+{
+ public class MainPageViewModel : Conductor<object>
+ {
+ public void Huh()
+ {
+ MessageBox.Show("moi");
+ }
+ }
+}
View
6 ...cro-datatemplate-selector/caliburn-micro-datatemplate-selector/Properties/AppManifest.xml
@@ -0,0 +1,6 @@
+<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+>
+ <Deployment.Parts>
+ </Deployment.Parts>
+</Deployment>
View
37 ...cro-datatemplate-selector/caliburn-micro-datatemplate-selector/Properties/AssemblyInfo.cs
@@ -0,0 +1,37 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Resources;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("caliburn_micro_datatemplate_selector")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("caliburn_micro_datatemplate_selector")]
+[assembly: AssemblyCopyright("Copyright © 2012")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("d7cd1d23-40ac-4eb6-8a20-32dc47393fb2")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: NeutralResourcesLanguageAttribute("en-US")]
View
35 ...o-datatemplate-selector/caliburn-micro-datatemplate-selector/Properties/WMAppManifest.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.1">
+ <App xmlns="" ProductID="{e67dd805-705f-4aae-967b-d2019995a2c8}" Title="caliburn_micro_datatemplate_selector" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal" Author="caliburn_micro_datatemplate_selector author" Description="Sample description" Publisher="caliburn_micro_datatemplate_selector">
+ <IconPath IsRelative="true" IsResource="false">ApplicationIcon.png</IconPath>
+ <Capabilities>
+ <Capability Name="ID_CAP_GAMERSERVICES"/>
+ <Capability Name="ID_CAP_IDENTITY_DEVICE"/>
+ <Capability Name="ID_CAP_IDENTITY_USER"/>
+ <Capability Name="ID_CAP_LOCATION"/>
+ <Capability Name="ID_CAP_MEDIALIB"/>
+ <Capability Name="ID_CAP_MICROPHONE"/>
+ <Capability Name="ID_CAP_NETWORKING"/>
+ <Capability Name="ID_CAP_PHONEDIALER"/>
+ <Capability Name="ID_CAP_PUSH_NOTIFICATION"/>
+ <Capability Name="ID_CAP_SENSORS"/>
+ <Capability Name="ID_CAP_WEBBROWSERCOMPONENT"/>
+ <Capability Name="ID_CAP_ISV_CAMERA"/>
+ <Capability Name="ID_CAP_CONTACTS"/>
+ <Capability Name="ID_CAP_APPOINTMENTS"/>
+ </Capabilities>
+ <Tasks>
+ <DefaultTask Name ="_default" NavigationPage="MainPage.xaml"/>
+ </Tasks>
+ <Tokens>
+ <PrimaryToken TokenID="caliburn_micro_datatemplate_selectorToken" TaskName="_default">
+ <TemplateType5>
+ <BackgroundImageURI IsRelative="true" IsResource="false">Background.png</BackgroundImageURI>
+ <Count>0</Count>
+ <Title>caliburn_micro_datatemplate_selector</Title>
+ </TemplateType5>
+ </PrimaryToken>
+ </Tokens>
+ </App>
+</Deployment>
View
BIN  ...rn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/SplashScreenImage.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
114 ...selector/caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector.csproj
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.20506</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{9A26B2AB-0A73-4148-A814-2A3965956C90}</ProjectGuid>
+ <ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>caliburn_micro_datatemplate_selector</RootNamespace>
+ <AssemblyName>caliburn-micro-datatemplate-selector</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
+ <TargetFrameworkProfile>WindowsPhone71</TargetFrameworkProfile>
+ <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
+ <SilverlightApplication>true</SilverlightApplication>
+ <SupportedCultures>
+ </SupportedCultures>
+ <XapOutputs>true</XapOutputs>
+ <GenerateSilverlightManifest>true</GenerateSilverlightManifest>
+ <XapFilename>caliburn_micro_datatemplate_selector.xap</XapFilename>
+ <SilverlightManifestTemplate>Properties\AppManifest.xml</SilverlightManifestTemplate>
+ <SilverlightAppEntry>caliburn_micro_datatemplate_selector.App</SilverlightAppEntry>
+ <ValidateXaml>true</ValidateXaml>
+ <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>Bin\Debug</OutputPath>
+ <DefineConstants>DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
+ <NoStdLib>true</NoStdLib>
+ <NoConfig>true</NoConfig>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>Bin\Release</OutputPath>
+ <DefineConstants>TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
+ <NoStdLib>true</NoStdLib>
+ <NoConfig>true</NoConfig>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="Caliburn.Micro">
+ <HintPath>..\packages\Caliburn.Micro.1.2.0\lib\SL40\Caliburn.Micro.dll</HintPath>
+ </Reference>
+ <Reference Include="Microsoft.Phone" />
+ <Reference Include="Microsoft.Phone.Interop" />
+ <Reference Include="System.Windows" />
+ <Reference Include="system" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Net" />
+ <Reference Include="System.Windows.Interactivity, Version=4.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\packages\Caliburn.Micro.1.2.0\lib\SL40\System.Windows.Interactivity.dll</HintPath>
+ </Reference>
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="App.xaml.cs">
+ <DependentUpon>App.xaml</DependentUpon>
+ </Compile>
+ <Compile Include="Bootstrapper.cs" />
+ <Compile Include="Caliburn.Micro\ContainerExtensions.cs" />
+ <Compile Include="Caliburn.Micro\ExtensionMethods.cs" />
+ <Compile Include="Caliburn.Micro\SimpleContainer.cs" />
+ <Compile Include="MainPage.xaml.cs">
+ <DependentUpon>MainPage.xaml</DependentUpon>
+ </Compile>
+ <Compile Include="MainPageViewModel.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ApplicationDefinition Include="App.xaml">
+ <SubType>Designer</SubType>
+ <Generator>MSBuild:Compile</Generator>
+ </ApplicationDefinition>
+ <Page Include="MainPage.xaml">
+ <SubType>Designer</SubType>
+ <Generator>MSBuild:Compile</Generator>
+ </Page>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ <None Include="Properties\AppManifest.xml" />
+ <None Include="Properties\WMAppManifest.xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="ApplicationIcon.png">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </Content>
+ <Content Include="Background.png">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </Content>
+ <Content Include="SplashScreenImage.jpg" />
+ </ItemGroup>
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" />
+ <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <ProjectExtensions />
+</Project>
View
5 caliburn-micro-datatemplate-selector/caliburn-micro-datatemplate-selector/packages.config
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="Caliburn.Micro.Container" version="1.2.0" />
+ <package id="Caliburn.Micro" version="1.2.0" />
+</packages>
View
BIN  ...burn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/Caliburn.Micro.1.2.0.nupkg
Binary file not shown
View
BIN  ...rn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/Net40/Caliburn.Micro.dll
Binary file not shown
View
BIN  ...rn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/Net40/Caliburn.Micro.pdb
Binary file not shown
View
2,422 ...rn-micro-datatemplate-selector/packages/Caliburn.Micro.1.2.0/lib/Net40/Caliburn.Micro.xml
2,422 additions, 0 deletions not shown
View
BIN  ...emplate-selector/packages/Caliburn.Micro.1.2.0/lib/Net40/System.Windows.Interactivity.dll
Binary file not shown
View
1,072 ...emplate-selector/packages/Caliburn.Micro.1.2.0/lib/Net40/System.Windows.Interactivity.xml
@@ -0,0 +1,1072 @@
+<?xml version="1.0"?>
+<doc>
+ <assembly>
+ <name>System.Windows.Interactivity</name>
+ </assembly>
+ <members>
+ <member name="T:System.Windows.Interactivity.AttachableCollection`1">
+ <summary>
+ Represents a collection of IAttachedObject with a shared AssociatedObject and provides change notifications to its contents when that AssociatedObject changes.
+ </summary>
+ </member>
+ <member name="T:System.Windows.Interactivity.IAttachedObject">
+ <summary>
+ An interface for an object that can be attached to another object.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.IAttachedObject.Attach(System.Windows.DependencyObject)">
+ <summary>
+ Attaches to the specified object.
+ </summary>
+ <param name="dependencyObject">The object to attach to.</param>
+ </member>
+ <member name="M:System.Windows.Interactivity.IAttachedObject.Detach">
+ <summary>
+ Detaches this instance from its associated object.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.IAttachedObject.AssociatedObject">
+ <summary>
+ Gets the associated object.
+ </summary>
+ <value>The associated object.</value>
+ <remarks>Represents the object the instance is attached to.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.AttachableCollection`1.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.AttachableCollection`1"/> class.
+ </summary>
+ <remarks>Internal, because this should not be inherited outside this assembly.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.AttachableCollection`1.OnAttached">
+ <summary>
+ Called immediately after the collection is attached to an AssociatedObject.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.AttachableCollection`1.OnDetaching">
+ <summary>
+ Called when the collection is being detached from its AssociatedObject, but before it has actually occurred.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.AttachableCollection`1.ItemAdded(`0)">
+ <summary>
+ Called when a new item is added to the collection.
+ </summary>
+ <param name="item">The new item.</param>
+ </member>
+ <member name="M:System.Windows.Interactivity.AttachableCollection`1.ItemRemoved(`0)">
+ <summary>
+ Called when an item is removed from the collection.
+ </summary>
+ <param name="item">The removed item.</param>
+ </member>
+ <member name="M:System.Windows.Interactivity.AttachableCollection`1.VerifyAdd(`0)">
+ <exception cref="T:System.InvalidOperationException">Cannot add the instance to a collection more than once.</exception>
+ </member>
+ <member name="M:System.Windows.Interactivity.AttachableCollection`1.Attach(System.Windows.DependencyObject)">
+ <summary>
+ Attaches to the specified object.
+ </summary>
+ <param name="dependencyObject">The object to attach to.</param>
+ <exception cref="T:System.InvalidOperationException">The IAttachedObject is already attached to a different object.</exception>
+ </member>
+ <member name="M:System.Windows.Interactivity.AttachableCollection`1.Detach">
+ <summary>
+ Detaches this instance from its associated object.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.AttachableCollection`1.AssociatedObject">
+ <summary>
+ The object on which the collection is hosted.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.AttachableCollection`1.System#Windows#Interactivity#IAttachedObject#AssociatedObject">
+ <summary>
+ Gets the associated object.
+ </summary>
+ <value>The associated object.</value>
+ </member>
+ <member name="T:System.Windows.Interactivity.Behavior`1">
+ <summary>
+ Encapsulates state information and zero or more ICommands into an attachable object.
+ </summary>
+ <typeparam name="T">The type the <see cref="T:System.Windows.Interactivity.Behavior`1"/> can be attached to.</typeparam>
+ <remarks>
+ Behavior is the base class for providing attachable state and commands to an object.
+ The types the Behavior can be attached to can be controlled by the generic parameter.
+ Override OnAttached() and OnDetaching() methods to hook and unhook any necessary handlers
+ from the AssociatedObject.
+ </remarks>
+ </member>
+ <member name="T:System.Windows.Interactivity.Behavior">
+ <summary>
+ Encapsulates state information and zero or more ICommands into an attachable object.
+ </summary>
+ <remarks>This is an infrastructure class. Behavior authors should derive from Behavior&lt;T&gt; instead of from this class.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.Behavior.OnAttached">
+ <summary>
+ Called after the behavior is attached to an AssociatedObject.
+ </summary>
+ <remarks>Override this to hook up functionality to the AssociatedObject.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.Behavior.OnDetaching">
+ <summary>
+ Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.
+ </summary>
+ <remarks>Override this to unhook functionality from the AssociatedObject.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.Behavior.Attach(System.Windows.DependencyObject)">
+ <summary>
+ Attaches to the specified object.
+ </summary>
+ <param name="dependencyObject">The object to attach to.</param>
+ <exception cref="T:System.InvalidOperationException">The Behavior is already hosted on a different element.</exception>
+ <exception cref="T:System.InvalidOperationException">dependencyObject does not satisfy the Behavior type constraint.</exception>
+ </member>
+ <member name="M:System.Windows.Interactivity.Behavior.Detach">
+ <summary>
+ Detaches this instance from its associated object.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.Behavior.AssociatedType">
+ <summary>
+ The type to which this behavior can be attached.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.Behavior.AssociatedObject">
+ <summary>
+ Gets the object to which this behavior is attached.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.Behavior.System#Windows#Interactivity#IAttachedObject#AssociatedObject">
+ <summary>
+ Gets the associated object.
+ </summary>
+ <value>The associated object.</value>
+ </member>
+ <member name="M:System.Windows.Interactivity.Behavior`1.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.Behavior`1"/> class.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.Behavior`1.AssociatedObject">
+ <summary>
+ Gets the object to which this <see cref="T:System.Windows.Interactivity.Behavior`1"/> is attached.
+ </summary>
+ </member>
+ <member name="T:System.Windows.Interactivity.BehaviorCollection">
+ <summary>
+ Represents a collection of behaviors with a shared AssociatedObject and provides change notifications to its contents when that AssociatedObject changes.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.BehaviorCollection.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.BehaviorCollection"/> class.
+ </summary>
+ <remarks>Internal, because this should not be inherited outside this assembly.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.BehaviorCollection.OnAttached">
+ <summary>
+ Called immediately after the collection is attached to an AssociatedObject.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.BehaviorCollection.OnDetaching">
+ <summary>
+ Called when the collection is being detached from its AssociatedObject, but before it has actually occurred.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.BehaviorCollection.ItemAdded(System.Windows.Interactivity.Behavior)">
+ <summary>
+ Called when a new item is added to the collection.
+ </summary>
+ <param name="item">The new item.</param>
+ </member>
+ <member name="M:System.Windows.Interactivity.BehaviorCollection.ItemRemoved(System.Windows.Interactivity.Behavior)">
+ <summary>
+ Called when an item is removed from the collection.
+ </summary>
+ <param name="item">The removed item.</param>
+ </member>
+ <member name="M:System.Windows.Interactivity.BehaviorCollection.CreateInstanceCore">
+ <summary>
+ Creates a new instance of the BehaviorCollection.
+ </summary>
+ <returns>The new instance.</returns>
+ </member>
+ <member name="T:System.Windows.Interactivity.CustomPropertyValueEditor">
+ <summary>
+ Enumerates possible values for reusable property value editors.
+ </summary>
+ </member>
+ <member name="F:System.Windows.Interactivity.CustomPropertyValueEditor.Element">
+ <summary>
+ Uses the element picker, if supported, to edit this property at design time.
+ </summary>
+ </member>
+ <member name="F:System.Windows.Interactivity.CustomPropertyValueEditor.Storyboard">
+ <summary>
+ Uses the storyboard picker, if supported, to edit this property at design time.
+ </summary>
+ </member>
+ <member name="F:System.Windows.Interactivity.CustomPropertyValueEditor.StateName">
+ <summary>
+ Uses the state picker, if supported, to edit this property at design time.
+ </summary>
+ </member>
+ <member name="F:System.Windows.Interactivity.CustomPropertyValueEditor.ElementBinding">
+ <summary>
+ Uses the element-binding picker, if supported, to edit this property at design time.
+ </summary>
+ </member>
+ <member name="F:System.Windows.Interactivity.CustomPropertyValueEditor.PropertyBinding">
+ <summary>
+ Uses the property-binding picker, if supported, to edit this property at design time.
+ </summary>
+ </member>
+ <member name="T:System.Windows.Interactivity.CustomPropertyValueEditorAttribute">
+ <summary>
+ Associates the given editor type with the property on which the CustomPropertyValueEditor is applied.
+ </summary>
+ <remarks>Use this attribute to get improved design-time editing for properties that denote element (by name), storyboards, or states (by name).</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.CustomPropertyValueEditorAttribute.#ctor(System.Windows.Interactivity.CustomPropertyValueEditor)">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.CustomPropertyValueEditorAttribute"/> class.
+ </summary>
+ <param name="customPropertyValueEditor">The custom property value editor.</param>
+ </member>
+ <member name="P:System.Windows.Interactivity.CustomPropertyValueEditorAttribute.CustomPropertyValueEditor">
+ <summary>
+ Gets or sets the custom property value editor.
+ </summary>
+ <value>The custom property value editor.</value>
+ </member>
+ <member name="T:System.Windows.Interactivity.DefaultTriggerAttribute">
+ <summary>
+ Provides design tools information about what <see cref="T:System.Windows.Interactivity.TriggerBase"/> to instantiate for a given action or command.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.DefaultTriggerAttribute.#ctor(System.Type,System.Type,System.Object)">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.DefaultTriggerAttribute"/> class.
+ </summary>
+ <param name="targetType">The type this attribute applies to.</param>
+ <param name="triggerType">The type of <see cref="T:System.Windows.Interactivity.TriggerBase"/> to instantiate.</param>
+ <param name="parameters">A single argument for the specified <see cref="T:System.Windows.Interactivity.TriggerBase"/>.</param>
+ <exception cref="T:System.ArgumentException"><c cref="F:System.Windows.Interactivity.DefaultTriggerAttribute.triggerType"/> is not derived from TriggerBase.</exception>
+ <remarks>This constructor is useful if the specifed <see cref="T:System.Windows.Interactivity.TriggerBase"/> has a single argument. The
+ resulting code will be CLS compliant.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.DefaultTriggerAttribute.#ctor(System.Type,System.Type,System.Object[])">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.DefaultTriggerAttribute"/> class.
+ </summary>
+ <param name="targetType">The type this attribute applies to.</param>
+ <param name="triggerType">The type of <see cref="T:System.Windows.Interactivity.TriggerBase"/> to instantiate.</param>
+ <param name="parameters">The constructor arguments for the specified <see cref="T:System.Windows.Interactivity.TriggerBase"/>.</param>
+ <exception cref="T:System.ArgumentException"><c cref="F:System.Windows.Interactivity.DefaultTriggerAttribute.triggerType"/> is not derived from TriggerBase.</exception>
+ </member>
+ <member name="M:System.Windows.Interactivity.DefaultTriggerAttribute.Instantiate">
+ <summary>
+ Instantiates this instance.
+ </summary>
+ <returns>The <see cref="T:System.Windows.Interactivity.TriggerBase"/> specified by the DefaultTriggerAttribute.</returns>
+ </member>
+ <member name="P:System.Windows.Interactivity.DefaultTriggerAttribute.TargetType">
+ <summary>
+ Gets the type that this DefaultTriggerAttribute applies to.
+ </summary>
+ <value>The type this DefaultTriggerAttribute applies to.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.DefaultTriggerAttribute.TriggerType">
+ <summary>
+ Gets the type of the <see cref="T:System.Windows.Interactivity.TriggerBase"/> to instantiate.
+ </summary>
+ <value>The type of the <see cref="T:System.Windows.Interactivity.TriggerBase"/> to instantiate.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.DefaultTriggerAttribute.Parameters">
+ <summary>
+ Gets the parameters to pass to the <see cref="T:System.Windows.Interactivity.TriggerBase"/> constructor.
+ </summary>
+ <value>The parameters to pass to the <see cref="T:System.Windows.Interactivity.TriggerBase"/> constructor.</value>
+ </member>
+ <member name="M:System.Windows.Interactivity.DependencyObjectHelper.GetSelfAndAncestors(System.Windows.DependencyObject)">
+ <summary>
+ This method will use the VisualTreeHelper.GetParent method to do a depth first walk up
+ the visual tree and return all ancestors of the specified object, including the object itself.
+ </summary>
+ <param name="dependencyObject">The object in the visual tree to find ancestors of.</param>
+ <returns>Returns itself an all ancestors in the visual tree.</returns>
+ </member>
+ <member name="T:System.Windows.Interactivity.EventObserver">
+ <summary>
+ EventObserver is designed to help manage event handlers by detatching when disposed. Creating this object will also attach in the constructor.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.EventObserver.#ctor(System.Reflection.EventInfo,System.Object,System.Delegate)">
+ <summary>
+ Creates an instance of EventObserver and attaches to the supplied event on the supplied target. Call dispose to detach.
+ </summary>
+ <param name="eventInfo">The event to attach and detach from.</param>
+ <param name="target">The target object the event is defined on. Null if the method is static.</param>
+ <param name="handler">The delegate to attach to the event.</param>
+ </member>
+ <member name="M:System.Windows.Interactivity.EventObserver.Dispose">
+ <summary>
+ Detaches the handler from the event.
+ </summary>
+ </member>
+ <member name="T:System.Windows.Interactivity.EventTrigger">
+ <summary>
+ A trigger that listens for a specified event on its source and fires when that event is fired.
+ </summary>
+ </member>
+ <member name="T:System.Windows.Interactivity.EventTriggerBase`1">
+ <summary>
+ Represents a trigger that can listen to an element other than its AssociatedObject.
+ </summary>
+ <typeparam name="T">The type that this trigger can be associated with.</typeparam>
+ <remarks>
+ EventTriggerBase extends TriggerBase to add knowledge of another object than the one it is attached to.
+ This allows a user to attach a Trigger/Action pair to one element and invoke the Action in response to a
+ change in another object somewhere else. Override OnSourceChanged to hook or unhook handlers on the source
+ element, and OnAttached/OnDetaching for the associated element. The type of the Source element can be
+ constrained by the generic type parameter. If you need control over the type of the
+ AssociatedObject, set a TypeConstraintAttribute on your derived type.
+ </remarks>
+ </member>
+ <member name="T:System.Windows.Interactivity.EventTriggerBase">
+ <summary>
+ Represents a trigger that can listen to an object other than its AssociatedObject.
+ </summary>
+ <remarks>This is an infrastructure class. Trigger authors should derive from EventTriggerBase&lt;T&gt; instead of this class.</remarks>
+ </member>
+ <member name="T:System.Windows.Interactivity.TriggerBase">
+ <summary>
+ Represents an object that can invoke Actions conditionally.
+ </summary>
+ <remarks>This is an infrastructure class. Trigger authors should derive from Trigger&lt;T&gt; instead of this class.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerBase.InvokeActions(System.Object)">
+ <summary>
+ Invoke all actions associated with this trigger.
+ </summary>
+ <remarks>Derived classes should call this to fire the trigger.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerBase.OnAttached">
+ <summary>
+ Called after the trigger is attached to an AssociatedObject.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerBase.OnDetaching">
+ <summary>
+ Called when the trigger is being detached from its AssociatedObject, but before it has actually occurred.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerBase.CreateInstanceCore">
+ <summary>
+ Creates a new instance of the TriggerBase derived class.
+ </summary>
+ <returns>The new instance.</returns>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerBase.Attach(System.Windows.DependencyObject)">
+ <summary>
+ Attaches to the specified object.
+ </summary>
+ <param name="dependencyObject">The object to attach to.</param>
+ <exception cref="T:System.InvalidOperationException">Cannot host the same trigger on more than one object at a time.</exception>
+ <exception cref="T:System.InvalidOperationException">dependencyObject does not satisfy the trigger type constraint.</exception>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerBase.Detach">
+ <summary>
+ Detaches this instance from its associated object.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.TriggerBase.AssociatedObject">
+ <summary>
+ Gets the object to which the trigger is attached.
+ </summary>
+ <value>The associated object.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.TriggerBase.AssociatedObjectTypeConstraint">
+ <summary>
+ Gets the type constraint of the associated object.
+ </summary>
+ <value>The associated object type constraint.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.TriggerBase.Actions">
+ <summary>
+ Gets the actions associated with this trigger.
+ </summary>
+ <value>The actions associated with this trigger.</value>
+ </member>
+ <member name="E:System.Windows.Interactivity.TriggerBase.PreviewInvoke">
+ <summary>
+ Event handler for registering to PreviewInvoke.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.TriggerBase.System#Windows#Interactivity#IAttachedObject#AssociatedObject">
+ <summary>
+ Gets the associated object.
+ </summary>
+ <value>The associated object.</value>
+ </member>
+ <member name="M:System.Windows.Interactivity.EventTriggerBase.GetEventName">
+ <summary>
+ Specifies the name of the Event this EventTriggerBase is listening for.
+ </summary>
+ <returns></returns>
+ </member>
+ <member name="M:System.Windows.Interactivity.EventTriggerBase.OnEvent(System.EventArgs)">
+ <summary>
+ Called when the event associated with this EventTriggerBase is fired. By default, this will invoke all actions on the trigger.
+ </summary>
+ <param name="eventArgs">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
+ <remarks>Override this to provide more granular control over when actions associated with this trigger will be invoked.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.EventTriggerBase.OnSourceChangedImpl(System.Object,System.Object)">
+ <summary>
+ Called when the source changes.
+ </summary>
+ <param name="oldSource">The old source.</param>
+ <param name="newSource">The new source.</param>
+ <remarks>This function should be overridden in derived classes to hook functionality to and unhook functionality from the changing source objects.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.EventTriggerBase.OnAttached">
+ <summary>
+ Called after the trigger is attached to an AssociatedObject.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.EventTriggerBase.OnDetaching">
+ <summary>
+ Called when the trigger is being detached from its AssociatedObject, but before it has actually occurred.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.EventTriggerBase.RegisterEvent(System.Object,System.String)">
+ <exception cref="T:System.ArgumentException">Could not find eventName on the Target.</exception>
+ </member>
+ <member name="P:System.Windows.Interactivity.EventTriggerBase.AssociatedObjectTypeConstraint">
+ <summary>
+ Gets the type constraint of the associated object.
+ </summary>
+ <value>The associated object type constraint.</value>
+ <remarks>Define a TypeConstraintAttribute on a derived type to constrain the types it may be attached to.</remarks>
+ </member>
+ <member name="P:System.Windows.Interactivity.EventTriggerBase.SourceTypeConstraint">
+ <summary>
+ Gets the source type constraint.
+ </summary>
+ <value>The source type constraint.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.EventTriggerBase.SourceObject">
+ <summary>
+ Gets or sets the target object. If TargetObject is not set, the target will look for the object specified by TargetName. If an element referred to by TargetName cannot be found, the target will default to the AssociatedObject. This is a dependency property.
+ </summary>
+ <value>The target object.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.EventTriggerBase.SourceName">
+ <summary>
+ Gets or sets the name of the element this EventTriggerBase listens for as a source. If the name is not set or cannot be resolved, the AssociatedObject will be used. This is a dependency property.
+ </summary>
+ <value>The name of the source element.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.EventTriggerBase.Source">
+ <summary>
+ Gets the resolved source. If <c ref="SourceName"/> is not set or cannot be resolved, defaults to AssociatedObject.
+ </summary>
+ <value>The resolved source object.</value>
+ <remarks>In general, this property should be used in place of AssociatedObject in derived classes.</remarks>
+ <exception cref="T:System.InvalidOperationException">The element pointed to by <c cref="P:System.Windows.Interactivity.EventTriggerBase.Source"/> does not satisify the type constraint.</exception>
+ </member>
+ <member name="M:System.Windows.Interactivity.EventTriggerBase`1.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.EventTriggerBase`1"/> class.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.EventTriggerBase`1.OnSourceChanged(`0,`0)">
+ <summary>
+ Called when the source property changes.
+ </summary>
+ <remarks>Override this to hook functionality to and unhook functionality from the specified source, rather than the AssociatedObject.</remarks>
+ <param name="oldSource">The old source.</param>
+ <param name="newSource">The new source.</param>
+ </member>
+ <member name="P:System.Windows.Interactivity.EventTriggerBase`1.Source">
+ <summary>
+ Gets the resolved source. If <c ref="SourceName"/> is not set or cannot be resolved, defaults to AssociatedObject.
+ </summary>
+ <value>The resolved source object.</value>
+ <remarks>In general, this property should be used in place of AssociatedObject in derived classes.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.EventTrigger.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.EventTrigger"/> class.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.EventTrigger.#ctor(System.String)">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.EventTrigger"/> class.
+ </summary>
+ <param name="eventName">Name of the event.</param>
+ </member>
+ <member name="P:System.Windows.Interactivity.EventTrigger.EventName">
+ <summary>
+ Gets or sets the name of the event to listen for. This is a dependency property.
+ </summary>
+ <value>The name of the event.</value>
+ </member>
+ <member name="T:System.Windows.Interactivity.Interaction">
+ <summary>
+ Static class that owns the Triggers and Behaviors attached properties. Handles propagation of AssociatedObject change notifications.
+ </summary>
+ </member>
+ <member name="F:System.Windows.Interactivity.Interaction.TriggersProperty">
+ <summary>
+ This property is used as the internal backing store for the public Triggers attached property.
+ </summary>
+ <remarks>
+ This property is not exposed publicly. This forces clients to use the GetTriggers and SetTriggers methods to access the
+ collection, ensuring the collection exists and is set before it is used.
+ </remarks>
+ </member>
+ <member name="F:System.Windows.Interactivity.Interaction.BehaviorsProperty">
+ <summary>
+ This property is used as the internal backing store for the public Behaviors attached property.
+ </summary>
+ <remarks>
+ This property is not exposed publicly. This forces clients to use the GetBehaviors and SetBehaviors methods to access the
+ collection, ensuring the collection exists and is set before it is used.
+ </remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.Interaction.GetTriggers(System.Windows.DependencyObject)">
+ <summary>
+ Gets the TriggerCollection containing the triggers associated with the specified object.
+ </summary>
+ <param name="obj">The object from which to retrieve the triggers.</param>
+ <returns>A TriggerCollection containing the triggers associated with the specified object.</returns>
+ </member>
+ <member name="M:System.Windows.Interactivity.Interaction.GetBehaviors(System.Windows.DependencyObject)">
+ <summary>
+ Gets the <see cref="T:System.Windows.Interactivity.BehaviorCollection"/> associated with a specified object.
+ </summary>
+ <param name="obj">The object from which to retrieve the <see cref="T:System.Windows.Interactivity.BehaviorCollection"/>.</param>
+ <returns>A <see cref="T:System.Windows.Interactivity.BehaviorCollection"/> containing the behaviors associated with the specified object.</returns>
+ </member>
+ <member name="M:System.Windows.Interactivity.Interaction.OnBehaviorsChanged(System.Windows.DependencyObject,System.Windows.DependencyPropertyChangedEventArgs)">
+ <exception cref="T:System.InvalidOperationException">Cannot host the same BehaviorCollection on more than one object at a time.</exception>
+ </member>
+ <member name="M:System.Windows.Interactivity.Interaction.OnTriggersChanged(System.Windows.DependencyObject,System.Windows.DependencyPropertyChangedEventArgs)">
+ <exception cref="T:System.InvalidOperationException">Cannot host the same TriggerCollection on more than one object at a time.</exception>
+ </member>
+ <member name="M:System.Windows.Interactivity.Interaction.IsElementLoaded(System.Windows.FrameworkElement)">
+ <summary>
+ A helper function to take the place of FrameworkElement.IsLoaded, as this property is not available in Silverlight.
+ </summary>
+ <param name="element">The element of interest.</param>
+ <returns>True if the element has been loaded; otherwise, False.</returns>
+ </member>
+ <member name="P:System.Windows.Interactivity.Interaction.ShouldRunInDesignMode">
+ <summary>
+ Gets or sets a value indicating whether to run as if in design mode.
+ </summary>
+ <value>
+ <c>True</c> if [should run in design mode]; otherwise, <c>False</c>.
+ </value>
+ <remarks>Not to be used outside unit tests.</remarks>
+ </member>
+ <member name="T:System.Windows.Interactivity.InvokeCommandAction">
+ <summary>
+ Executes a specified ICommand when invoked.
+ </summary>
+ </member>
+ <member name="T:System.Windows.Interactivity.TriggerAction`1">
+ <summary>
+ Represents an attachable object that encapsulates a unit of functionality.
+ </summary>
+ <typeparam name="T">The type to which this action can be attached.</typeparam>
+ </member>
+ <member name="T:System.Windows.Interactivity.TriggerAction">
+ <summary>
+ Represents an attachable object that encapsulates a unit of functionality.
+ </summary>
+ <remarks>This is an infrastructure class. Action authors should derive from TriggerAction&lt;T&gt; instead of this class.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerAction.CallInvoke(System.Object)">
+ <summary>
+ Attempts to invoke the action.
+ </summary>
+ <param name="parameter">The parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference.</param>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerAction.Invoke(System.Object)">
+ <summary>
+ Invokes the action.
+ </summary>
+ <param name="parameter">The parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference.</param>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerAction.OnAttached">
+ <summary>
+ Called after the action is attached to an AssociatedObject.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerAction.OnDetaching">
+ <summary>
+ Called when the action is being detached from its AssociatedObject, but before it has actually occurred.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerAction.CreateInstanceCore">
+ <summary>
+ When implemented in a derived class, creates a new instance of the <see cref="T:System.Windows.Freezable"/> derived class.
+ </summary>
+ <returns>The new instance.</returns>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerAction.Attach(System.Windows.DependencyObject)">
+ <summary>
+ Attaches to the specified object.
+ </summary>
+ <param name="dependencyObject">The object to attach to.</param>
+ <exception cref="T:System.InvalidOperationException">Cannot host the same TriggerAction on more than one object at a time.</exception>
+ <exception cref="T:System.InvalidOperationException">dependencyObject does not satisfy the TriggerAction type constraint.</exception>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerAction.Detach">
+ <summary>
+ Detaches this instance from its associated object.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.TriggerAction.IsEnabled">
+ <summary>
+ Gets or sets a value indicating whether this action will run when invoked. This is a dependency property.
+ </summary>
+ <value>
+ <c>True</c> if this action will be run when invoked; otherwise, <c>False</c>.
+ </value>
+ </member>
+ <member name="P:System.Windows.Interactivity.TriggerAction.AssociatedObject">
+ <summary>
+ Gets the object to which this action is attached.
+ </summary>
+ <value>The associated object.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.TriggerAction.AssociatedObjectTypeConstraint">
+ <summary>
+ Gets the associated object type constraint.
+ </summary>
+ <value>The associated object type constraint.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.TriggerAction.IsHosted">
+ <summary>
+ Gets or sets a value indicating whether this instance is attached.
+ </summary>
+ <value><c>True</c> if this instance is attached; otherwise, <c>False</c>.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.TriggerAction.System#Windows#Interactivity#IAttachedObject#AssociatedObject">
+ <summary>
+ Gets the associated object.
+ </summary>
+ <value>The associated object.</value>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerAction`1.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.TriggerAction`1"/> class.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.TriggerAction`1.AssociatedObject">
+ <summary>
+ Gets the object to which this <see cref="T:System.Windows.Interactivity.TriggerAction`1"/> is attached.
+ </summary>
+ <value>The associated object.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.TriggerAction`1.AssociatedObjectTypeConstraint">
+ <summary>
+ Gets the associated object type constraint.
+ </summary>
+ <value>The associated object type constraint.</value>
+ </member>
+ <member name="M:System.Windows.Interactivity.InvokeCommandAction.Invoke(System.Object)">
+ <summary>
+ Invokes the action.
+ </summary>
+ <param name="parameter">The parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference.</param>
+ </member>
+ <member name="P:System.Windows.Interactivity.InvokeCommandAction.CommandName">
+ <summary>
+ Gets or sets the name of the command this action should invoke.
+ </summary>
+ <value>The name of the command this action should invoke.</value>
+ <remarks>This property will be superseded by the Command property if both are set.</remarks>
+ </member>
+ <member name="P:System.Windows.Interactivity.InvokeCommandAction.Command">
+ <summary>
+ Gets or sets the command this action should invoke. This is a dependency property.
+ </summary>
+ <value>The command to execute.</value>
+ <remarks>This property will take precedence over the CommandName property if both are set.</remarks>
+ </member>
+ <member name="P:System.Windows.Interactivity.InvokeCommandAction.CommandParameter">
+ <summary>
+ Gets or sets the command parameter. This is a dependency property.
+ </summary>
+ <value>The command parameter.</value>
+ <remarks>This is the value passed to ICommand.CanExecute and ICommand.Execute.</remarks>
+ </member>
+ <member name="T:System.Windows.Interactivity.NameResolvedEventArgs">
+ <summary>
+ Provides data about which objects were affected when resolving a name change.
+ </summary>
+ </member>
+ <member name="T:System.Windows.Interactivity.NameResolver">
+ <summary>
+ Helper class to handle the logic of resolving a TargetName into a Target element
+ based on the context provided by a host element.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.NameResolver.UpdateObjectFromName(System.Windows.DependencyObject)">
+ <summary>
+ Attempts to update the resolved object from the name within the context of the namescope reference element.
+ </summary>
+ <param name="oldObject">The old resolved object.</param>
+ <remarks>
+ Resets the existing target and attempts to resolve the current TargetName from the
+ context of the current Host. If it cannot resolve from the context of the Host, it will
+ continue up the visual tree until it resolves. If it has not resolved it when it reaches
+ the root, it will set the Target to null and write a warning message to Debug output.
+ </remarks>
+ </member>
+ <member name="E:System.Windows.Interactivity.NameResolver.ResolvedElementChanged">
+ <summary>
+ Occurs when the resolved element has changed.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.NameResolver.Name">
+ <summary>
+ Gets or sets the name of the element to attempt to resolve.
+ </summary>
+ <value>The name to attempt to resolve.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.NameResolver.Object">
+ <summary>
+ The resolved object. Will return the reference element if TargetName is null or empty, or if a resolve has not been attempted.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.NameResolver.NameScopeReferenceElement">
+ <summary>
+ Gets or sets the reference element from which to perform the name resolution.
+ </summary>
+ <value>The reference element.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.NameResolver.PendingReferenceElementLoad">
+ <summary>
+ Gets or sets a value indicating whether the reference element load is pending.
+ </summary>
+ <value>
+ <c>True</c> if [pending reference element load]; otherwise, <c>False</c>.
+ </value>
+ <remarks>
+ If the Host has not been loaded, the name will not be resolved.
+ In that case, delay the resolution and track that fact with this property.
+ </remarks>
+ </member>
+ <member name="T:System.Windows.Interactivity.TargetedTriggerAction`1">
+ <summary>
+ Represents an action that can be targeted to affect an object other than its AssociatedObject.
+ </summary>
+ <typeparam name="T">The type constraint on the target.</typeparam>
+ <remarks>
+ TargetedTriggerAction extends TriggerAction to add knowledge of another element than the one it is attached to.
+ This allows a user to invoke the action on an element other than the one it is attached to in response to a
+ trigger firing. Override OnTargetChanged to hook or unhook handlers on the target element, and OnAttached/OnDetaching
+ for the associated element. The type of the Target element can be constrained by the generic type parameter. If
+ you need control over the type of the AssociatedObject, set a TypeConstraintAttribute on your derived type.
+ </remarks>
+ </member>
+ <member name="T:System.Windows.Interactivity.TargetedTriggerAction">
+ <summary>
+ Represents an action that can be targeted to affect an object other than its AssociatedObject.
+ </summary>
+ <remarks>This is an infrastructure class. Action authors should derive from TargetedTriggerAction&lt;T&gt; instead of this class.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.TargetedTriggerAction.OnTargetChangedImpl(System.Object,System.Object)">
+ <summary>
+ Called when the target changes.
+ </summary>
+ <param name="oldTarget">The old target.</param>
+ <param name="newTarget">The new target.</param>
+ <remarks>This function should be overriden in derived classes to hook and unhook functionality from the changing source objects.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.TargetedTriggerAction.OnAttached">
+ <summary>
+ Called after the action is attached to an AssociatedObject.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.TargetedTriggerAction.OnDetaching">
+ <summary>
+ Called when the action is being detached from its AssociatedObject, but before it has actually occurred.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.TargetedTriggerAction.TargetObject">
+ <summary>
+ Gets or sets the target object. If TargetObject is not set, the target will look for the object specified by TargetName. If an element referred to by TargetName cannot be found, the target will default to the AssociatedObject. This is a dependency property.
+ </summary>
+ <value>The target object.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.TargetedTriggerAction.TargetName">
+ <summary>
+ Gets or sets the name of the object this action targets. If Target is set, this property is ignored. If Target is not set and TargetName is not set or cannot be resolved, the target will default to the AssociatedObject. This is a dependency property.
+ </summary>
+ <value>The name of the target object.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.TargetedTriggerAction.Target">
+ <summary>
+ Gets the target object. If TargetObject is set, returns TargetObject. Else, if TargetName is not set or cannot be resolved, defaults to the AssociatedObject.
+ </summary>
+ <value>The target object.</value>
+ <remarks>In general, this property should be used in place of AssociatedObject in derived classes.</remarks>
+ <exception cref="T:System.InvalidOperationException">The Target element does not satisfy the type constraint.</exception>
+ </member>
+ <member name="P:System.Windows.Interactivity.TargetedTriggerAction.AssociatedObjectTypeConstraint">
+ <summary>
+ Gets the associated object type constraint.
+ </summary>
+ <value>The associated object type constraint.</value>
+ <remarks>Define a TypeConstraintAttribute on a derived type to constrain the types it may be attached to.</remarks>
+ </member>
+ <member name="P:System.Windows.Interactivity.TargetedTriggerAction.TargetTypeConstraint">
+ <summary>
+ Gets the target type constraint.
+ </summary>
+ <value>The target type constraint.</value>
+ </member>
+ <member name="M:System.Windows.Interactivity.TargetedTriggerAction`1.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.TargetedTriggerAction`1"/> class.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.TargetedTriggerAction`1.OnTargetChanged(`0,`0)">
+ <summary>
+ Called when the target property changes.
+ </summary>
+ <remarks>Override this to hook and unhook functionality on the specified Target, rather than the AssociatedObject.</remarks>
+ <param name="oldTarget">The old target.</param>
+ <param name="newTarget">The new target.</param>
+ </member>
+ <member name="P:System.Windows.Interactivity.TargetedTriggerAction`1.Target">
+ <summary>
+ Gets the target object. If TargetName is not set or cannot be resolved, defaults to the AssociatedObject.
+ </summary>
+ <value>The target.</value>
+ <remarks>In general, this property should be used in place of AssociatedObject in derived classes.</remarks>
+ </member>
+ <member name="T:System.Windows.Interactivity.TriggerActionCollection">
+ <summary>
+ Represents a collection of actions with a shared AssociatedObject and provides change notifications to its contents when that AssociatedObject changes.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerActionCollection.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.TriggerActionCollection"/> class.
+ </summary>
+ <remarks>Internal, because this should not be inherited outside this assembly.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerActionCollection.OnAttached">
+ <summary>
+ Called immediately after the collection is attached to an AssociatedObject.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerActionCollection.OnDetaching">
+ <summary>
+ Called when the collection is being detached from its AssociatedObject, but before it has actually occurred.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerActionCollection.ItemAdded(System.Windows.Interactivity.TriggerAction)">
+ <summary>
+ Called when a new item is added to the collection.
+ </summary>
+ <param name="item">The new item.</param>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerActionCollection.ItemRemoved(System.Windows.Interactivity.TriggerAction)">
+ <summary>
+ Called when an item is removed from the collection.
+ </summary>
+ <param name="item">The removed item.</param>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerActionCollection.CreateInstanceCore">
+ <summary>
+ Creates a new instance of the TriggerActionCollection.
+ </summary>
+ <returns>The new instance.</returns>
+ </member>
+ <member name="T:System.Windows.Interactivity.TriggerBase`1">
+ <summary>
+ Represents an object that can invoke actions conditionally.
+ </summary>
+ <typeparam name="T">The type to which this trigger can be attached.</typeparam>
+ <remarks>
+ TriggerBase is the base class for controlling actions. Override OnAttached() and
+ OnDetaching() to hook and unhook handlers on the AssociatedObject. You may
+ constrain the types that a derived TriggerBase may be attached to by specifying
+ the generic parameter. Call InvokeActions() to fire all Actions associated with
+ this TriggerBase.
+ </remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerBase`1.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.TriggerBase`1"/> class.
+ </summary>
+ </member>
+ <member name="P:System.Windows.Interactivity.TriggerBase`1.AssociatedObject">
+ <summary>
+ Gets the object to which the trigger is attached.
+ </summary>
+ <value>The associated object.</value>
+ </member>
+ <member name="P:System.Windows.Interactivity.TriggerBase`1.AssociatedObjectTypeConstraint">
+ <summary>
+ Gets the type constraint of the associated object.
+ </summary>
+ <value>The associated object type constraint.</value>
+ </member>
+ <member name="T:System.Windows.Interactivity.PreviewInvokeEventArgs">
+ <summary>
+ Argument passed to PreviewInvoke event. Assigning Cancelling to True will cancel the invoking of the trigger.
+ </summary>
+ <remarks>This is an infrastructure class. Behavior attached to a trigger base object can add its behavior as a listener to TriggerBase.PreviewInvoke.</remarks>
+ </member>
+ <member name="T:System.Windows.Interactivity.TriggerCollection">
+ <summary>
+ Represents a collection of triggers with a shared AssociatedObject and provides change notifications to its contents when that AssociatedObject changes.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerCollection.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.TriggerCollection"/> class.
+ </summary>
+ <remarks>Internal, because this should not be inherited outside this assembly.</remarks>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerCollection.OnAttached">
+ <summary>
+ Called immediately after the collection is attached to an AssociatedObject.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerCollection.OnDetaching">
+ <summary>
+ Called when the collection is being detached from its AssociatedObject, but before it has actually occurred.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerCollection.ItemAdded(System.Windows.Interactivity.TriggerBase)">
+ <summary>
+ Called when a new item is added to the collection.
+ </summary>
+ <param name="item">The new item.</param>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerCollection.ItemRemoved(System.Windows.Interactivity.TriggerBase)">
+ <summary>
+ Called when an item is removed from the collection.
+ </summary>
+ <param name="item">The removed item.</param>
+ </member>
+ <member name="M:System.Windows.Interactivity.TriggerCollection.CreateInstanceCore">
+ <summary>
+ Creates a new instance of the <see cref="T:System.Windows.Interactivity.TriggerCollection"/>.
+ </summary>
+ <returns>The new instance.</returns>
+ </member>
+ <member name="T:System.Windows.Interactivity.TypeConstraintAttribute">
+ <summary>
+ Specifies type constraints on the AssociatedObject of TargetedTriggerAction and EventTriggerBase.
+ </summary>
+ </member>
+ <member name="M:System.Windows.Interactivity.TypeConstraintAttribute.#ctor(System.Type)">
+ <summary>
+ Initializes a new instance of the <see cref="T:System.Windows.Interactivity.TypeConstraintAttribute"/> class.
+ </summary>
+ <param name="constraint">The constraint type.</param>
+ </member>
+ <member name="P:System.Windows.Interactivity.TypeConstraintAttribute.Constraint">
+ <summary>
+ Gets the constraint type.
+ </summary>
+ <value>The constraint type.</value>
+ </member>
+ <member name="T:ExceptionStringTable">
+ <summary>
+ A strongly-typed resource class, for looking up localized strings, etc.
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.ResourceManager">
+ <summary>
+ Returns the cached ResourceManager instance used by this class.
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.Culture">
+ <summary>
+ Overrides the current thread's CurrentUICulture property for all
+ resource lookups using this strongly typed resource class.
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.CannotHostBehaviorCollectionMultipleTimesExceptionMessage">
+ <summary>
+ Looks up a localized string similar to Cannot set the same BehaviorCollection on multiple objects..
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.CannotHostBehaviorMultipleTimesExceptionMessage">
+ <summary>
+ Looks up a localized string similar to An instance of a Behavior cannot be attached to more than one object at a time..
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.CannotHostTriggerActionMultipleTimesExceptionMessage">
+ <summary>
+ Looks up a localized string similar to Cannot host an instance of a TriggerAction in multiple TriggerCollections simultaneously. Remove it from one TriggerCollection before adding it to another..
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.CannotHostTriggerCollectionMultipleTimesExceptionMessage">
+ <summary>
+ Looks up a localized string similar to Cannot set the same TriggerCollection on multiple objects..
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.CannotHostTriggerMultipleTimesExceptionMessage">
+ <summary>
+ Looks up a localized string similar to An instance of a trigger cannot be attached to more than one object at a time..
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.CommandDoesNotExistOnBehaviorWarningMessage">
+ <summary>
+ Looks up a localized string similar to The command &quot;{0}&quot; does not exist or is not publicly exposed on {1}..
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.DefaultTriggerAttributeInvalidTriggerTypeSpecifiedExceptionMessage">
+ <summary>
+ Looks up a localized string similar to &quot;{0}&quot; is not a valid type for the TriggerType parameter. Make sure &quot;{0}&quot; derives from TriggerBase..
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.DuplicateItemInCollectionExceptionMessage">
+ <summary>
+ Looks up a localized string similar to Cannot add the same instance of &quot;{0}&quot; to a &quot;{1}&quot; more than once..
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.EventTriggerBaseInvalidEventExceptionMessage">
+ <summary>
+ Looks up a localized string similar to The event &quot;{0}&quot; on type &quot;{1}&quot; has an incompatible signature. Make sure the event is public and satisfies the EventHandler delegate..
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.EventTriggerCannotFindEventNameExceptionMessage">
+ <summary>
+ Looks up a localized string similar to Cannot find an event named &quot;{0}&quot; on type &quot;{1}&quot;..
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.RetargetedTypeConstraintViolatedExceptionMessage">
+ <summary>
+ Looks up a localized string similar to An object of type &quot;{0}&quot; cannot have a {3} property of type &quot;{1}&quot;. Instances of type &quot;{0}&quot; can have only a {3} property of type &quot;{2}&quot;..
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.TypeConstraintViolatedExceptionMessage">
+ <summary>
+ Looks up a localized string similar to Cannot attach type &quot;{0}&quot; to type &quot;{1}&quot;. Instances of type &quot;{0}&quot; can only be attached to objects of type &quot;{2}&quot;..
+ </summary>
+ </member>
+ <member name="P:ExceptionStringTable.UnableToResolveTargetNameWarningMessage">
+ <summary>
+ Looks up a localized string similar to Unable to resolve TargetName &quot;{0}&quot;..
+ </summary>
+ </member>
+ </members>
+</doc>
View
BIN  ...template-selector/packages/Caliburn.Micro.1.2.0/lib/SL40-wp/Caliburn.Micro.Extensions.dll
Binary file not shown
View
BIN  ...template-selector/packages/Caliburn.Micro.1.2.0/lib/SL40-wp/Caliburn.Micro.Extensions.pdb
Binary file not shown
View
900 ...template-selector/packages/Caliburn.Micro.1.2.0/lib/SL40-wp/Caliburn.Micro.Extensions.xml
@@ -0,0 +1,900 @@
+<?xml version="1.0"?>
+<doc>
+ <assembly>
+ <name>Caliburn.Micro.Extensions</name>
+ </assembly>
+ <members>
+ <member name="T:Caliburn.Micro.UriBuilder`1">
+ <summary>
+ Builds a Uri in a strongly typed fashion, based on a ViewModel.
+ </summary>
+ <typeparam name="TViewModel"></typeparam>
+ </member>
+ <member name="M:Caliburn.Micro.UriBuilder`1.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:Caliburn.Micro.UriBuilder`1"/> class.
+ </summary>
+ </member>
+ <member name="M:Caliburn.Micro.UriBuilder`1.WithParam``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},``0)">
+ <summary>
+ Adds a query string parameter to the Uri.
+ </summary>
+ <typeparam name="TValue">The type of the value.</typeparam>
+ <param name="property">The property.</param>
+ <param name="value">The property value.</param>
+ <returns>Itself</returns>
+ </member>
+ <member name="M:Caliburn.Micro.UriBuilder`1.AttachTo(Caliburn.Micro.INavigationService)">
+ <summary>
+ Attaches a navigation servies to this builder.
+ </summary>
+ <param name="navigationService">The navigation service.</param>
+ <returns>Itself</returns>
+ </member>
+ <member name="M:Caliburn.Micro.UriBuilder`1.Navigate">
+ <summary>
+ Navigates to the Uri represented by this builder.
+ </summary>
+ </member>
+ <member name="T:Caliburn.Micro.StorageMode">
+ <summary>
+ The mode used to save/restore data.
+ </summary>
+ </member>
+ <member name="F:Caliburn.Micro.StorageMode.Automatic">
+ <summary>
+ Automatic Determine the Mode
+ </summary>
+ </member>
+ <member name="F:Caliburn.Micro.StorageMode.Temporary">
+ <summary>
+ Use Temporary storage.
+ </summary>
+ </member>
+ <member name="F:Caliburn.Micro.StorageMode.Permanent">
+ <summary>
+ Use Permenent storage.
+ </summary>
+ </member>
+ <member name="F:Caliburn.Micro.StorageMode.Any">
+ <summary>
+ Use any storage mechanism available.
+ </summary>
+ </member>
+ <member name="T:Caliburn.Micro.TaskExtensionMethods">
+ <summary>
+ Extension methods related to phone tasks.
+ </summary>
+ </member>
+ <member name="M:Caliburn.Micro.TaskExtensionMethods.RequestTask``1(Caliburn.Micro.IEventAggregator,System.Action{``0},System.Object)">
+ <summary>
+ Creates a task and publishes it using the <see cref="T:Caliburn.Micro.EventAggregator"/>.
+ </summary>
+ <typeparam name="TTask">The task to create.</typeparam>
+ <param name="events">The event aggregator.</param>
+ <param name="configure">Optional configuration for the task.</param>
+ <param name="state">Optional state to be passed along to the task completion message.</param>
+ </member>
+ <member name="T:Caliburn.Micro.TaskCompleted`1">
+ <summary>
+ A message which is published when a task completes.
+ </summary>
+ <typeparam name="TTaskEventArgs">The type of the task event args.</typeparam>
+ </member>
+ <member name="F:Caliburn.Micro.TaskCompleted`1.State">
+ <summary>
+ Optional state provided by the original sender.
+ </summary>
+ </member>
+ <member name="F:Caliburn.Micro.TaskCompleted`1.Result">
+ <summary>
+ The results of the task.
+ </summary>
+ </member>
+ <member name="T:Caliburn.Micro.IVibrateController">
+ <summary>
+ Allows applications to start and stop vibration on the device.
+ </summary>
+ </member>
+ <member name="M:Caliburn.Micro.IVibrateController.Start(System.TimeSpan)">
+ <summary>
+ Starts vibration on the device.
+ </summary>
+ <param name="duration">A TimeSpan object specifying the amount of time for which the phone vibrates.</param>
+ </member>
+ <member name="M:Caliburn.Micro.IVibrateController.Stop">
+ <summary>
+ Stops vibration on the device.
+ </summary>
+ </member>
+ <member name="T:Caliburn.Micro.SystemVibrateController">
+ <summary>
+ The default implementation of <see cref="T:Caliburn.Micro.IVibrateController"/>, using the system controller.
+ </summary>
+ </member>
+ <member name="M:Caliburn.Micro.SystemVibrateController.Start(System.TimeSpan)">
+ <summary>
+ Starts vibration on the device.
+ </summary>
+ <param name="duration">A TimeSpan object specifying the amount of time for which the phone vibrates.</param>
+ </member>
+ <member name="M:Caliburn.Micro.SystemVibrateController.Stop">
+ <summary>
+ Stops vibration on the device.
+ </summary>
+ </member>
+ <member name="T:Caliburn.Micro.SimpleContainer">
+ <summary>
+ A simple IoC container.
+ </summary>
+ </member>
+ <member name="M:Caliburn.Micro.SimpleContainer.#ctor">
+ <summary>
+ Initializes a new instance of the <see cref="T:Caliburn.Micro.SimpleContainer"/> class.
+ </summary>
+ </member>
+ <member name="M:Caliburn.Micro.SimpleContainer.RegisterInstance(System.Type,System.String,System.Object)">
+ <summary>
+ Registers the instance.
+ </summary>
+ <param name = "service">The service.</param>
+ <param name = "key">The key.</param>
+ <param name = "implementation">The implementation.</param>
+ </member>
+ <member name="M:Caliburn.Micro.SimpleContainer.RegisterPerRequest(System.Type,System.String,System.Type)">
+ <summary>
+ Registers the class so that a new instance is created on every request.
+ </summary>
+ <param name = "service">The service.</param>
+ <param name = "key">The key.</param>
+ <param name = "implementation">The implementation.</param>
+ </member>
+ <member name="M:Caliburn.Micro.SimpleContainer.RegisterSingleton(System.Type,System.String,System.Type)">
+ <summary>
+ Registers the class so that it is created once, on first request, and the same instance is returned to all requestors thereafter.
+ </summary>
+ <param name = "service">The service.</param>
+ <param name = "key">The key.</param>
+ <param name = "implementation">The implementation.</param>
+ </member>
+ <member name="M:Caliburn.Micro.SimpleContainer.RegisterHandler(System.Type,System.String,System.Func{Caliburn.Micro.SimpleContainer,System.Object})">
+ <summary>
+ Registers a custom handler for serving requests from the container.
+ </summary>
+ <param name = "service">The service.</param>
+ <param name = "key">The key.</param>
+ <param name = "handler">The handler.</param>
+ </member>
+ <member name="M:Caliburn.Micro.SimpleContainer.GetInstance(System.Type,System.String)">
+ <summary>
+ Requests an instance.
+ </summary>
+ <param name = "service">The service.</param>
+ <param name = "key">The key.</param>
+ <returns>The instance, or null if a handler is not found.</returns>
+ </member>
+ <member name="M:Caliburn.Micro.SimpleContainer.GetAllInstances(System.Type)">
+ <summary>
+ Requests all instances of a given type.
+ </summary>
+ <param name = "service">The service.</param>
+ <returns>All the instances or an empty enumerable if none are found.</returns>
+ </member>
+ <member name="M:Caliburn.Micro.SimpleContainer.BuildUp(System.Object)">
+ <summary>
+ Pushes dependencies into an existing instance based on interface properties with setters.
+ </summary>
+ <param name = "instance">The instance.</param>
+ </member>
+ <member name="M:Caliburn.Micro.SimpleContainer.CreateChildContainer">
+ <summary>
+ Creates a child container.
+ </summary>
+ <returns>A new container.</returns>
+ </member>
+ <member name="M:Caliburn.Micro.SimpleContainer.BuildInstance(System.Type)">
+ <summary>
+ Actually does the work of creating the instance and satisfying it's constructor dependencies.
+ </summary>
+ <param name = "type">The type.</param>
+ <returns></<