1#if !XAMARIN && !NETFX_CORE
19 public static class XamlConfigurationExtensions
27 public static CslaOptions AddXaml(
this CslaOptions config)
29 return AddXaml(config,
null);
39 public static CslaOptions AddXaml(
this CslaOptions config, Action<XamlOptions> options)
41 var xamlOptions =
new XamlOptions();
42 options?.Invoke(xamlOptions);
45 ApplicationContext.PropertyChangedMode = ApplicationContext.PropertyChangedModes.Xaml;
56 public static IHost UseCsla(
this IHost host)
61#pragma warning disable IDE0059
62 var context = host.Services.GetService(typeof(ApplicationContext));
63#pragma warning restore IDE0059
Configuration options for AddXaml method
Base class used to create ViewModel objects, with pre-existing verbs for use by InvokeMethod or Invok...