/// <summary> /// Creates a new instance of <see cref="LocalResourceReader2"/>. /// </summary> /// <param name="resourceFilePaths"> /// The array of resource file paths that should be read. /// </param> public LocalResourceReader2(string[] resourceFilePaths, IKeyFormatter keyFormatter) { if (resourceFilePaths == null) throw new ArgumentNullException("resourceFilePaths"); if (keyFormatter == null) throw new ArgumentNullException("keyFormatter"); this.keyFormatter = keyFormatter; this.resourceFilePaths = resourceFilePaths; }
/// <summary> /// Creates a new instance of the <see cref="ResourceEnumerator2"/> type for the /// provided resourceFilePaths. /// </summary> /// <param name="resourceFilePaths"></param> /// <param name="keyFormatter">Instance of the <see cref="IKeyFormatter"/> to use when formatting keys.</param> public ResourceEnumerator2(string[] resourceFilePaths, IKeyFormatter keyFormatter) { if (resourceFilePaths == null) throw new ArgumentNullException("resourceFilePaths"); if (resourceFilePaths.Length == 0) throw new ArgumentException("At least one resource file path must be passed."); if (keyFormatter == null) throw new ArgumentNullException("keyFormatter"); this.resourceFilePaths = resourceFilePaths; this.keyFormatter = keyFormatter; }
public ConcatOperation(MemoryPool <byte> allocator, string key, IKeyFormatter keyFormatter, ConcatenationMode mode, in ReadOnlyMemory <byte> data)
public GetOperation(MemoryPool <byte> allocator, string key, IKeyFormatter keyFormatter) : base(allocator, key, keyFormatter) { }
public KeyFormatterConfigurationSourceDecorator(IConfigurationSource inner, IKeyFormatter keyFormatter) { _inner = inner; _keyFormatter = keyFormatter; }
protected GetOperationBase(MemoryPool <byte> allocator, string key, IKeyFormatter keyFormatter, byte extraLength = 0) : base(allocator, key, keyFormatter, extraLength) { }
public UserSettingsBlock() { InitializeComponent(); keyFormatter = new KeyFormatterWindows(); }