Example #1
0
        static async Task Main(string[] args)
        {
            var wrapper = UnityServiceContainerWrapper.GetInstance();

            DependencyRegistration.RegisterDependencies(wrapper);
            var backupManager = wrapper.Resolve <IBackupManager>();
        }
Example #2
0
        public void Configuration(IAppBuilder app)
        {
            ConfigureAuth(app);

            var container = new Container();

            DependencyRegistration.RegisterDependencies(container);
        }