public void Setup()
 {
     log4net.Config.XmlConfigurator.Configure();
     unitOfWorkFactory = ObjectContainer.Get<UnitOfWorkFactory>();
     catRepository = ObjectContainer.Get<CatRepository>();
     ownerRepository = ObjectContainer.Get<OwnerRepository>();
 }
예제 #2
0
 // The constructor accepts an IConfiguration object as a parameter. This class comes from the ASP.NET framework and is useful for retrieving things out of the appsettings.json file like connection strings.
 public WalkersController(IConfiguration config)
 {
     _walkerRepo = new WalkerRepository(config);
     _hoodRepo   = new NeighborhoodRepository(config);
     _walksRepo  = new WalksRepository(config);
     _ownerRepo  = new OwnerRepository(config);
 }
예제 #3
0
        private void InitFilter()
        {
            ComplexFilterParams = new DocumentFilterParams();

            var ownerRepository        = new OwnerRepository();
            var documentTypeRepository = new Repository <DocumentType>();

            var filterOwnerList        = ownerRepository.GetAll(x => x.Name.DisplayName);
            var filterDocumentTypeList = documentTypeRepository.GetAll(x => x.TypeName);

            _filterOwnerCheckList = new ObservableCollection <CheckBoxItem <Owner> >();
            foreach (var owner in filterOwnerList)
            {
                FilterOwnerCheckList.Add(new CheckBoxItem <Owner> {
                    Item = owner
                });
            }
            OnPropertyChanged("FilterOwnerCheckList");

            _filterDocumentTypeCheckList = new ObservableCollection <CheckBoxItem <DocumentType> >();
            foreach (var owner in filterDocumentTypeList)
            {
                FilterDocumentTypeCheckList.Add(new CheckBoxItem <DocumentType> {
                    Item = owner
                });
            }
            OnPropertyChanged("FilterDocumentTypeCheckList");
        }
예제 #4
0
 public CarvedRockQuery(OwnerRepository ownerRepository)
 {
     Field <ListGraphType <OwnerType> >(
         "owners",
         resolve: context => ownerRepository.GetAll()
         );
 }
예제 #5
0
 // The constructor accepts an IConfiguration object as a parameter. This class comes from the ASP.NET framework and is useful for retrieving things out of the appsettings.json file like connection strings.
 public OwnersController(IConfiguration config)
 {
     _ownerRepo        = new OwnerRepository(config);
     _dogRepo          = new DogRepository(config);
     _neighborhoodRepo = new NeighborhoodRepository(config);
     _walkerRepo       = new WalkerRepository(config);
 }
예제 #6
0
 // The constructor accepts an IConfiguration object as a parameter. This class comes from the ASP.NET framework and is useful for retrieving things out of the appsettings.json file like connection strings.
 public WalkersController(IConfiguration config)
 {
     _walkerRepo = new WalkerRepository(config);
     _ownerRepo  = new OwnerRepository(config);
     _dogRepo    = new DogRepository(config);
     _walkRepo   = new WalkRepository(config);
 }
예제 #7
0
        public ActionResult _Index()
        {
            OwnerRepository repository = new OwnerRepository();
            var             allOwners  = repository.GetAllOwners();

            return(PartialView("_Index", allOwners));
        }
        static void Main(string[] args)
        {
            Console.WriteLine("Welcome!");
            Console.WriteLine();

            Console.WriteLine("Listing all dogs:");
            Console.WriteLine();

            var dogRepo = new DogRepository();

            var allDogs = dogRepo.GetAllDogs();

            foreach (var dog in allDogs)
            {
                Console.WriteLine($"Dog Info: {dog.Name} is a {dog.Breed}! Notes: {dog.Notes}");
            }

            Console.WriteLine();

            Console.WriteLine("Listing all owners:");
            Console.WriteLine();

            var ownerRepo = new OwnerRepository();
            var allOwners = ownerRepo.getAllOwners();

            foreach (var owner in allOwners)
            {
                Console.WriteLine($"Name: {owner.Name}");
                Console.WriteLine($"Neighberhood: {owner.Neighborhood.Name}");
                Console.WriteLine($"Phone: {owner.Phone}");
                Console.WriteLine($"Address: {owner.Address}");
                Console.WriteLine();
            }

            var walkerRepo = new WalkerRepository();
            var allWalkers = walkerRepo.getAllWalkers();

            Console.WriteLine("Listing all walkers:");
            Console.WriteLine();

            foreach (var walker in allWalkers)
            {
                Console.WriteLine($"Name: {walker.Name}");
                Console.WriteLine($"Neighborhood: {walker.Neighborhood.Name}");
            }

            Console.WriteLine();

            Console.WriteLine("Listing all neighborhoods:");

            Console.WriteLine();

            var neighborhoodRepo = new NeighborhoodRepository();
            var allNeighborhoods = neighborhoodRepo.GetAllNeighborhoods();

            foreach (var neighborhood in allNeighborhoods)
            {
                Console.WriteLine($"Neighborhood: {neighborhood.Name}");
            }
        }
예제 #9
0
        private void InitFilter()
        {
            Filter = new UnitFilter();
            ComplexFilterParams = new UnitFilterParams();

            var unitTypeRepository = new UnitTypeRepository();

            FilterUnitTypeList = unitTypeRepository.GetAll(type => type.TypeName);

            var repository = Repository as UnitRepository;

            if (repository != null)
            {
                FilterManufactureList = repository.GetManufactureList();
                FilterModelNameList   = repository.GetModelList();
            }

            var ownerRepository = new OwnerRepository();

            FilterOwnerList = ownerRepository.GetAll(owner => owner.Name.DisplayName);

            var statusRepository = new StatusRepository();

            FilterStatusList = statusRepository.GetAll(x => x.StatusType);
        }
        public async void OwnerRepositoryGet_RetrievePersonListMoq_True()
        {
            // Skip.If(true);

            // Arrange
            Mock <IURLHelper> _urlHelper      = base.MoqURLHelper();
            IHttpClient       _httpClientMock = await base.MockHttpClient();

            Mock <IDeserializer <Owner> > _deserializer = base.MoqDeserializerOwner();

            OwnerRepository <Owner> op = new OwnerRepository <Owner>(_urlHelper.Object,
                                                                     _httpClientMock,
                                                                     _deserializer.Object);

            // Act
            IList <Owner> list = await op.GetAll();

            // Assert
            Assert.NotNull(list);
            Assert.True(list.Count > 0);
            Assert.NotNull(list[0]);

            Assert.Equal("Bob", list[0].Name);
            Assert.Equal("Male", list[0].Gender);
            Assert.Equal(23, list[0].Age);

            Assert.Equal(2, list[0].Pets.Count);
            Assert.Equal("Garfield", list[0].Pets[0].Name);
            Assert.Equal("Cat", list[0].Pets[0].Type);
        }
예제 #11
0
        private void loginbtn_Click(object sender, EventArgs e)
        {
            Admin user1 = new Admin();

            user1.AId       = tboxlogin.Text;
            user1.APassword = tboxpass.Text;
            AdminRepository adRepo = new AdminRepository();

            Owner user2 = new Owner();

            user2.OId       = tboxlogin.Text;
            user2.OPassword = tboxpass.Text;
            OwnerRepository adRepo1 = new OwnerRepository();

            Customer user3 = new Customer();

            user3.CId       = tboxlogin.Text;
            user3.CPassword = tboxpass.Text;
            CustomerRepository adRepo2 = new CustomerRepository();



            if (adRepo.UserLoginValidation(user1))
            {
                String    aidd = tboxlogin.Text;
                AdminHome h    = new AdminHome();
                h.AdminHome1(aidd);
                h.Show();
                this.Hide();
            }


            else if (adRepo1.UserLoginValidation(user2))
            {
                String    oidd = tboxlogin.Text;
                OwnerHome h    = new OwnerHome();
                h.OwnerHome1(oidd);
                h.Show();
                this.Hide();
            }



            else if (adRepo2.UserLoginValidation(user3))
            {
                String       cidd = tboxlogin.Text;
                CustomerHome h    = new CustomerHome();
                h.CustomerHome1(cidd);
                h.Show();
                this.Hide();
            }



            else
            {
                MessageBox.Show("Invalid Id or Password", "Login Failed");
            }
        }
 /// <summary>
 /// Contructor de la clase
 /// </summary>
 /// <param name="context">Contexto de base de datos</param>
 public UnitOfWorkSqlServerRepository(WeeloDbContext context)
 {
     this.context  = context;
     Owner         = new OwnerRepository(this.context);
     PropertyImage = new PropertyImageRepository(this.context);
     Property      = new PropertyRepository(this.context);
     PropertyTrace = new PropertyTraceRepository(this.context);
 }
예제 #13
0
        private void InitViewModel()
        {
            Repository = new OwnerRepository();

            AddCommand    = new RelayCommand(x => AddMethod());
            EditCommand   = new RelayCommand(x => EditMethod());
            DeleteCommand = new RelayCommand(x => DeleteMethod());
        }
예제 #14
0
 public UnitOfWork(EFDbContext context)
 {
     _context = context;
     Cars     = new CarRepository(_context);
     Owners   = new OwnerRepository(_context);
     Models   = new ModelRepository(_context);
     Brands   = new BrandRepository(_context);
 }
예제 #15
0
        private void InitViewModel(Owner status)
        {
            _ownerRepository = new OwnerRepository();
            Owner            = status;

            SaveCommand  = new RelayCommand(x => SaveMethod());
            CloseCommand = new RelayCommand(x => CloseMethod());
        }
예제 #16
0
        public void OwnerHome1(string oidd)
        {
            this.oid = oidd;

            OwnerRepository _DataAccess = new OwnerRepository();

            Username = _DataAccess.ReturnUserName(oid);
        }
예제 #17
0
 public OwnerController()
 {
     this.ownerRepository       = new OwnerRepository();
     this.groomerRepository     = new GroomerRepository();
     this.serviceRepository     = new ServiceRepository();
     this.petRepository         = new PetRepository();
     this.appointmentRepository = new AppointmentRepository();
 }
예제 #18
0
        public ActionResult Details(Renter id)
        {
            OwnerRepository repo = new OwnerRepository();
            DataContext     db   = new DataContext();
            Owner           dbO  = new Owner();



            return(View(id));
        }
        async Task LinqSorterOwnerTestsAsync()
        {
            _urlHelper      = base.MoqURLHelper();
            _httpClientMock = await base.MockHttpClient();

            _deserializer    = base.MoqDeserializerOwner();
            _ownerRepository = new OwnerRepository <Owner>(_urlHelper.Object,
                                                           _httpClientMock,
                                                           _deserializer.Object);
        }
예제 #20
0
        public UnitOfWork(ApplicationDbContext db)
        {
            _db = db;

            // **** Models are instantiated here ****
            Banner   = new BannerRepository(_db);
            Owner    = new OwnerRepository(_db);
            News     = new NewsRepository(_db);
            FireInfo = new FireInfoRepository(_db);

            // Common Area Asset Models
            Asset             = new AssetRepository(_db);
            MaintenanceRecord = new MaintenanceRecordRepository(_db);

            Forms = new FormsRepository(_db);

            // Board Member Models
            BoardMember      = new BoardMemberRepository(_db);
            OwnerBoardMember = new OwnerBoardMemberRepository(_db);

            //Documents Models
            DocumentCategory    = new DocumentCategoryRepository(_db);
            DocumentFile        = new DocumentFileRepository(_db);
            DocumentSection     = new DocumentSectionRepository(_db);
            DocumentSectionText = new DocumentSectionTextRepository(_db);

            //Photo Gallery Models
            PhotoCategory = new PhotoCategoryRepository(_db);
            PhotoAlbum    = new PhotoAlbumRepository(_db);
            Photo         = new PhotoRepository(_db);

            //Classifieds Models
            ClassifiedsCategory = new ClassifiedsCategoryRepository(_db);
            ClassifiedsImages   = new ClassifiedsImagesRepository(_db);
            //ClassifiedsSubcategory = new ClassifiedsSubcategoryRepository(_db);
            ClassifiedsItem = new ClassifiedsItemRepository(_db);

            // Key Models
            Key    = new KeyRepository(_db);
            KeyLot = new KeyLotRepository(_db);

            // Lot Models
            Lot           = new LotRepository(_db);
            LotFile       = new LotFileRepository(_db);
            Lot_OwnerFile = new Lot_OwnerFileRepository(_db);
            Inventory     = new InventoryRepository(_db);
            Lot_Owner     = new Lot_OwnerRepository(_db);
            Lot_Inventory = new Lot_InventoryRepository(_db);

            // Lost & Found Models
            LostItem = new LostItemRepository(_db);

            // Event Models
            Event = new EventRepository(_db);
        }
예제 #21
0
        public Owner GetById(int OwnerId)
        {
            var Owner = OwnerRepository.GetById(OwnerId);

            if (Owner == null)
            {
                throw new BadRequestException(ErrorMessages.TrabajadorNoEncontrado);
            }

            return(Owner);
        }
예제 #22
0
        private void InitLists()
        {
            var ownerRepository = new OwnerRepository();
            var ownerList       = ownerRepository.GetAll(x => x.Name.DisplayName);

            OwnerList = new ObservableCollection <Owner>(ownerList);

            IRepository <DocumentType> documentTypeRepository = new Repository <DocumentType>();
            var documentTypes = documentTypeRepository.GetAll(x => x.TypeName);

            DocumentTypes = new ObservableCollection <DocumentType>(documentTypes);
        }
예제 #23
0
        public void GetPetsByOwnerId_ShouldReturnEmptyIEnumerable_WhenIdDoesNotExist(string ownerId)
        {
            //Arrange
            Guid             ownerGuid = Guid.Parse(ownerId);
            IOwnerRepository repo      = new OwnerRepository(_context);

            //Act
            var result = repo.GetPetsByOwnerIdAsync(ownerGuid).Result;

            //Assert
            Assert.True(result != null);
            Assert.IsAssignableFrom <IEnumerable <tblPet> >(result);
            Assert.Empty(result);
        }
예제 #24
0
        public JsonResult Create(string name, string address, string number, bool isActive = false)
        {
            Owner owner = new Owner()
            {
                OwnerName    = name,
                OwnerAddress = address,
                PhoneNumber  = number,
                IsActive     = isActive
            };
            OwnerRepository repository = new OwnerRepository();
            bool            status     = repository.AddOwner(owner);

            return(Json(status));
        }
예제 #25
0
        private void InitLists()
        {
            var unitTypeRepository = new UnitTypeRepository();

            UnitTypes = new ObservableCollection <UnitType>(unitTypeRepository.GetAllOrdered());

            var ownerRepository = new OwnerRepository();

            OwnerList = new ObservableCollection <Owner>(ownerRepository.GetAllOrdered());

            var statusRepository = new StatusRepository();

            StatusList = new ObservableCollection <Status>(statusRepository.GetAllOrdered());
        }
예제 #26
0
        public void OnGet()
        {
            var owners = OwnerRepository.GetAllOwners();

            if (owners != null)
            {
                GroupOfPets           = ModelFactory.Create(owners.CatOwners.GroupBy(owner => owner.Gender, owner => owner.Cats));
                GroupOfPets.GroupedBy = "Gender";
            }
            else
            {
                GroupOfPets = new PetGroups();
            }
        }
        private void OProfile_Load(object sender, EventArgs e)
        {
            OwnerRepository oRepo = new OwnerRepository();
            List <Owner>    oList = oRepo.Getowner(oid);


            foreach (Owner owner in oList)
            {
                oname.Text  = owner.OName;
                oiddd.Text  = owner.OId;
                oemail.Text = owner.OEmail;
                ophone.Text = owner.OPhone;
                opass.Text  = owner.OPassword;
            }
        }
예제 #28
0
        public Owner CreateOwner(OwnerRequest Owner)
        {
            var entityToInsert = new Owner()
            {
                User = this.UserRepository.GetById(Owner.UserId)
            };

            if (Owner.FunctionalUnitId != 0)
            {
                entityToInsert.FunctionalUnitId = Owner.FunctionalUnitId;
            }

            OwnerRepository.Insert(entityToInsert);
            return(entityToInsert);
        }
        public async Task OwnerRepositoryGet_ConstructorNullsThrowBubbleException_True()
        {
            Skip.If(false);

            // Arrange
            IURLHelper            _urlHelper      = null;
            IHttpClient           _httpClientMock = null;
            IDeserializer <Owner> _deserializer   = null;

            OwnerRepository <Owner> op = new OwnerRepository <Owner>(_urlHelper,
                                                                     _httpClientMock,
                                                                     _deserializer);

            await Assert.ThrowsAsync <NullReferenceException>(() => op.GetAll());
        }
        public static void Main(string[] args)
        {
            var db = new LibrarySystemDbEntities2();

            var author = db.Book.FirstOrDefault(b => b.Id == 3).Owner.Name;

            Console.WriteLine(author);


            var bookRepo   = new BookRepository();
            var authorRepo = new AuthorRepository();
            var ownerRepo  = new OwnerRepository();

            //var bookUpdate3 = bookRepo.Read(3);
            //var bookUpdate4 = bookRepo.Read(4);

            //bookUpdate3.isDeleted = false;
            //bookUpdate4.isDeleted = false;

            //bookRepo.Update(bookUpdate3);
            //bookRepo.Update(bookUpdate4);

            //var owner1 = new OwnerBusiness();
            //owner1.Name = "Alex Todorv";
            //owner1.Gender = 0;
            //owner1.Email = "*****@*****.**";
            //owner1.Address = "Sofia, Druzhba 2";
            //owner1.UniqueIdNumber = "9406257845";
            //owner1.isDeleted = false;

            var book1 = new BookBusiness {
                Name = "Test book", ISBN = 122445667, countPages = 120, AuthorId = 12, OwnerId = 4
            };

            //var author1 = new AuthorBusiness();
            //author1.Name = "Hristo Botev";
            //author1.isDeleted = false;
            //author1.Gender = 0;

            //var book3 = new BookBusiness { Name = "Pod Igoto", ISBN = 122445667, countPages = 230, Author = author1, Owner = new OwnerBusiness { Name = "Gosho Peshov", PhoneNumber = "08859494616", Email = "*****@*****.**" } };


            bookRepo.Create(book1);
            //authorRepo.Create(author1);
            //bookRepo.Create(book3);
            //ownerRepo.Create(owner1);
        }
예제 #31
0
        public List <Owner> GetAll()
        {
            var users = OwnerRepository.GetAll();

            if (users == null)
            {
                throw new BadRequestException(ErrorMessages.UserNoEncontrado);
            }

            var result     = new List <Owner>();
            var enumerator = users.GetEnumerator();

            while (enumerator.MoveNext())
            {
                result.Add(enumerator.Current);
            }
            return(result);
        }
예제 #32
0
        public void configure(String[] args)
        {
            // create app properties, using the default values as initial values
            appProperties = new Dictionary<String, String>(defaultProperties);

            // parse command line on top of defaults
            parseCommandLine(args, appProperties);

            // load properties from application.properties file over the defaults
            loadProperties(appProperties, PROPERTIES_PATH);

            // now load database properties file over the application and the defaults
            loadProperties(appProperties, DB_PROPERTIES_PATH);

            // parse the command line into app properties, as command line overrides all others
            parseCommandLine(args, appProperties);

            resolveReferences(appProperties);

            String[] keys = appProperties.Keys.ToArray();
            Array.Sort(keys);

            String helpOption;
            if (appProperties.TryGetValue("help", out helpOption) && "true".Equals(helpOption, StringComparison.InvariantCultureIgnoreCase)) {
                Console.Out.WriteLine("\nCSNuoTest [option=value [, option=value, ...] ]\nwhere <option> can be any of:\n");

                foreach (String key in keys) {
                    Console.Out.WriteLine(String.Format("{0}\t\t\t\t(default={1})", key, defaultProperties[key]));
                }

                Console.Out.WriteLine("\nHelp called - nothing to do; exiting.");
                Environment.Exit(0);
            }

            appLog.info("command-line properties: {0}",  string.Join(";", appProperties));

            StringBuilder builder = new StringBuilder(1024);
            builder.Append("\n***************** Resolved Properties ********************\n");
            foreach (String key in keys) {
                builder.AppendFormat("{0} = {1}\n", key, appProperties[key]);
            }
            appLog.info("{0}**********************************************************\n", builder.ToString());

            runTime = Int32.Parse(appProperties[RUN_TIME]) * Millis;
            averageRate = Single.Parse(appProperties[AVERAGE_RATE]);
            minViewAfterInsert = Int32.Parse(appProperties[MIN_VIEW_DELAY]);
            maxViewAfterInsert = Int32.Parse(appProperties[MAX_VIEW_DELAY]);
            timingSpeedup = Single.Parse(appProperties[TIMING_SPEEDUP]);
            minGroups = Int32.Parse(appProperties[MIN_GROUPS]);
            maxGroups = Int32.Parse(appProperties[MAX_GROUPS]);
            minData = Int32.Parse(appProperties[MIN_DATA]);
            maxData = Int32.Parse(appProperties[MAX_DATA]);
            burstProbability = Single.Parse(appProperties[BURST_PROBABILITY_PERCENT]);
            minBurst = Int32.Parse(appProperties[MIN_BURST]);
            maxBurst = Int32.Parse(appProperties[MAX_BURST]);
            maxQueued = Int32.Parse(appProperties[MAX_QUEUED]);
            initDb = Boolean.Parse(appProperties[DB_INIT]);
            queryOnly = Boolean.Parse(appProperties[QUERY_ONLY]);
            queryBackoff = Int32.Parse(appProperties[QUERY_BACKOFF]);
            maxRetry = Int32.Parse(appProperties[MAX_RETRY]);
            retrySleep = Int32.Parse(appProperties[RETRY_SLEEP]);

            String threadParam;
            int insertThreads = (appProperties.TryGetValue(INSERT_THREADS, out threadParam) ? Int32.Parse(threadParam) : 1);

            int queryThreads = (appProperties.TryGetValue(QUERY_THREADS, out threadParam) ? Int32.Parse(threadParam) : 1);

            if (maxViewAfterInsert > 0 && maxViewAfterInsert < minViewAfterInsert) {
                maxViewAfterInsert = minViewAfterInsert;
            }

            if (maxBurst <= minBurst) {
                appLog.info("maxBurst ({0}) <= minBurst ({1}); burst disabled", maxBurst, minBurst);
                burstProbability = minBurst = maxBurst = 0;
            }

            // filter out database properties, and strip off the prefix
            Dictionary<String, String> dbProperties = new Dictionary<String, String>();
            String dbPropertyPrefix = appProperties[DB_PROPERTY_PREFIX];
            if (! dbPropertyPrefix.EndsWith(".")) dbPropertyPrefix = dbPropertyPrefix + ".";

            foreach (String key in appProperties.Keys) {
                if (key.StartsWith(dbPropertyPrefix)) {
                    dbProperties[key.Substring(dbPropertyPrefix.Length)] = appProperties[key];
                }
            }

            //String insertIsolation = appProperties.getProperty(UPDATE_ISOLATION);
            //DataSource dataSource = new com.nuodb.jdbc.DataSource(dbProperties);
            SqlSession.init(dbProperties, insertThreads + queryThreads);

            SqlSession.CommunicationMode commsMode;
            if (!Enum.TryParse<SqlSession.CommunicationMode>(appProperties[COMMUNICATION_MODE], out commsMode))
                commsMode = SqlSession.CommunicationMode.SQL;
            SqlSession.globalCommsMode = commsMode;
            appLog.info("SqlSession.globalCommsMode set to {0}", commsMode);

            SqlSession.SpNamePrefix = appProperties[SP_NAME_PREFIX];

            ownerRepository = new OwnerRepository();
            ownerRepository.init();

            groupRepository = new GroupRepository();
            groupRepository.init();

            dataRepository = new DataRepository();
            dataRepository.init();

            eventRepository = new EventRepository(ownerRepository, groupRepository, dataRepository);
            eventRepository.init();

            if (!Enum.TryParse<TxModel>(appProperties[TX_MODEL], out txModel))
                txModel = TxModel.DISCRETE;

            if (!Enum.TryParse<SqlSession.Mode>(appProperties[BULK_COMMIT_MODE], out bulkCommitMode))
                bulkCommitMode = SqlSession.Mode.BATCH;

            //insertExecutor = Executors.newFixedThreadPool(insertThreads);
            //queryExecutor= Executors.newScheduledThreadPool(queryThreads);

            insertExecutor = new ThreadPoolExecutor<EventGenerator>("INSERT", insertThreads);
            queryExecutor = new ThreadPoolExecutor<EventViewTask>("QUERY", queryThreads);

            string checkOnly;
            if (appProperties.TryGetValue("check.config", out checkOnly) && checkOnly.Equals("true", StringComparison.InvariantCultureIgnoreCase)) {
                Console.Out.WriteLine("CheckConfig called - nothing to do; exiting.");
                Environment.Exit(0);
            }

            string silent;
            if (appProperties.TryGetValue("silent", out silent) && silent.Equals("true", StringComparison.InvariantCultureIgnoreCase)) {
                Logger.Silent = true;
            }
        }