Example #1
0
 public UpdateStatusModelDecorator(
     [NotNull] IConfigFilenameProvider decoratee,
     [NotNull] IStatusFullModel statusModel)
 {
     Guard.NotNull(decoratee, nameof(decoratee));
     Guard.NotNull(statusModel, nameof(statusModel));
     this.decoratee   = decoratee;
     this.statusModel = statusModel;
 }
Example #2
0
        public FileBasedConfigurationService(
            [NotNull] IFileSystem fileSystem,
            [NotNull] IConfigFilenameProvider filenameProvider)
        {
            Guard.NotNull(fileSystem, nameof(fileSystem));
            Guard.NotNull(filenameProvider, nameof(filenameProvider));

            this.filenameProvider = filenameProvider;
            this.fileSystem       = fileSystem;
        }
Example #3
0
 public VerifyAndFixFilenameDecorator([NotNull] IConfigFilenameProvider decoratee)
 {
     Guard.NotNull(decoratee, nameof(decoratee));
     this.decoratee = decoratee;
 }