Example #1
0
 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;
        }
Example #3
0
        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();
 }