public RuntimeFile (Func<Runtime, string> sourceCreator, Func<Runtime, string> destinationCreator, Func<Runtime, bool>? shouldSkip = null, bool strip = true, RuntimeFileType type = RuntimeFileType.Other, bool shared = false) { Source = sourceCreator; Destination = destinationCreator; ShouldSkip = shouldSkip; Strip = strip; Type = type; Shared = shared; }
public RuntimeFile(Func <Runtime, string> sourceCreator, Func <Runtime, string> destinationCreator, Func <Runtime, bool> shouldSkip = null, bool strip = true, RuntimeFileType type = RuntimeFileType.Other, bool shared = false) { if (sourceCreator == null) { throw new ArgumentNullException(nameof(sourceCreator)); } if (destinationCreator == null) { throw new ArgumentNullException(nameof(destinationCreator)); } Source = sourceCreator; Destination = destinationCreator; ShouldSkip = shouldSkip; Strip = strip; Type = type; Shared = shared; }