CommandScanner CreateFactory() { var factory = new CommandScanner(); factory.Registrate(typeof(TestAttributesCommand)); return(factory); }