protected override void Load(ContainerBuilder builder) { builder.RegisterType <VlcPlayer>() .AsSelf() .As <IMediaPlayer>() .SingleInstance(); builder.RegisterType <VlcDisplayViewModel>().As <IMediaDisplayViewModel>().SingleInstance(); builder.RegisterInstance(VlcPlayer.GetVolumeEndpoint()).SingleInstance(); AssemblySource.Instance.Add(typeof(VlcDisplayViewModel).Assembly); new VlcConfiguration().VerifyVlcPresent(); }