Amss.Boilerplate.Persistence.Impl.Configuration.PersistenceContainerExtension.RegisterCommands C# (CSharp) Method

RegisterCommands() private method

private RegisterCommands ( ) : void
return void
        private void RegisterCommands()
        {
            this
                .ConfigureSelfAutoRegistration(typeof(ISpecification<>))
                .Include(
                    t => t.IsClass && !t.IsGenericType && !t.IsAbstract && t.Name.EndsWith(WellKnownAppParts.Command),
                    Then.Register().As(t => this.CommandToContract(t)))
                .Include(
                    t => t.IsClass && !t.IsGenericType && !t.IsAbstract && t.ImplementsOpenGeneric(typeof(ISpecification<>)),
                    this.RegisterSpecification)
                .ApplyAutoRegistration();
        }