Пример #1
0
 void CompileAndRun(string xaml, CallbackExtensionCallback cb, IXamlParentStackProviderV1 parentStack)
 => Compile(xaml).create(new DictionaryServiceProvider
 {
     [typeof(CallbackExtensionCallback)]  = cb,
     [typeof(IXamlParentStackProviderV1)] = parentStack
 });
 DeferredContentTestsClass CompileAndRun(string xaml, CallbackExtensionCallback cb)
 => (DeferredContentTestsClass)Compile(xaml).create(new DictionaryServiceProvider
 {
     [typeof(CallbackExtensionCallback)] = cb,
 });