public H264Detector() { var builder = new ContainerBuilder(); builder.RegisterModule(new DetectorCommonModule()); builder.RegisterModule(new H264Module()); IContainer container = builder.Build(); _detectorColumns = container.Resolve <IDetectorColumns>(); _carver = container.Resolve <ICarver>(); }