/// <summary> /// /// </summary> /// <param name="provider"></param> /// <param name="sourceFile"></param> protected SourceReference(SourceProvider provider, SourceFile sourceFile) { if (provider == null) throw new ArgumentNullException("provider"); else if (sourceFile == null) throw new ArgumentNullException("sourceFile"); _provider = provider; _sourceFile = sourceFile; }
/// <summary> /// /// </summary> /// <param name="provider"></param> /// <param name="sourceFile"></param> protected SourceReference(SourceProvider provider, SourceFile sourceFile) { if (provider == null) { throw new ArgumentNullException("provider"); } else if (sourceFile == null) { throw new ArgumentNullException("sourceFile"); } _provider = provider; _sourceFile = sourceFile; }
/// <summary> /// /// </summary> /// <param name="resolver"></param> /// <param name="sourceFile"></param> /// <param name="reposRoot"></param> /// <param name="itemPath"></param> /// <param name="commitRev"></param> /// <param name="wcRev"></param> public SubversionSourceReference(SourceProvider resolver, SourceFile sourceFile, Uri reposRoot, Uri itemPath, long commitRev, long wcRev) : base(resolver, sourceFile) { if (reposRoot == null) { throw new ArgumentNullException("reposRoot"); } else if (itemPath == null) { throw new ArgumentNullException("itemPath"); } _reposRoot = reposRoot; _itemPath = itemPath; _commitRev = commitRev; _wcRev = wcRev; }
/// <summary> /// /// </summary> /// <param name="resolver"></param> /// <param name="sourceFile"></param> /// <param name="reposRoot"></param> /// <param name="itemPath"></param> /// <param name="commitRev"></param> /// <param name="wcRev"></param> public SubversionSourceReference(SourceProvider resolver, SourceFile sourceFile, Uri reposRoot, Uri itemPath, long commitRev, long wcRev) : base(resolver, sourceFile) { if (reposRoot == null) throw new ArgumentNullException("reposRoot"); else if (itemPath == null) throw new ArgumentNullException("itemPath"); _reposRoot = reposRoot; _itemPath = itemPath; _commitRev = commitRev; _wcRev = wcRev; }