Exemplo n.º 1
0
 private void applyFubuExtensionsFromPackages(IPackageLog log)
 {
     FubuExtensionFinder.FindAllExtensions().Each(x1 =>
     {
         log.Trace("Applying extension {0}", x1.GetType().FullName);
         x1.Configure(_registry.Value);
     });
 }
Exemplo n.º 2
0
        private void applyFubuExtensionsFromPackages()
        {
            PackageRegistry.Diagnostics.EachLog((o, l) => {
                if (o is IPackageInfo)
                {
                    _registry.Value.Config.Push(o.As <IPackageInfo>());
                    var assemblies = l.FindChildren <Assembly>();

                    try
                    {
                        FubuExtensionFinder.ApplyExtensions(_registry.Value, assemblies);
                    }
                    catch (Exception e)
                    {
                        l.MarkFailure(e);
                    }

                    _registry.Value.Config.Pop();
                }
            });
        }
Exemplo n.º 3
0
 private void applyFubuExtensionsFromPackages()
 {
     FubuExtensionFinder.FindAllExtensions().Each(x1 => x1.Configure(_registry.Value));
 }