public NetworkShareSourceReference(SourceProvider provider, string filename) : base(provider) { this.filename = filename; this.hash = FormatHash(ComputeHash(filename)); this.CopyToDestination(); }
protected SourceReference(SourceProvider provider) { if (provider == null) throw new ArgumentNullException("provider"); this.SourceProvider = provider; }
protected SourceReference(SourceProvider provider) { if (provider == null) { throw new ArgumentNullException("provider"); } this.SourceProvider = provider; }
public NetworkShareSourceReference(SourceProvider provider, string filename) : base(provider) { this.filename = filename; this.hash = FormatHash(ComputeHash(filename)); this.CopyToDestination(); }