BolfTracker.Web.App_Start.UnityWebActivator.Start C# (CSharp) Метод

Start() публичный статический Метод

Integrates Unity when the application starts.
public static Start ( ) : void
Результат void
        public static void Start()
        {
            var container = UnityConfig.GetConfiguredContainer();

            FilterProviders.Providers.Remove(FilterProviders.Providers.OfType<FilterAttributeFilterProvider>().First());
            FilterProviders.Providers.Add(new UnityFilterAttributeFilterProvider(container));

            DependencyResolver.SetResolver(new UnityDependencyResolver(container));
        }
UnityWebActivator