public IgnoredEntity ( IFolder folder, IPathMatcher matcher ) : System | ||
folder | IFolder | Ignored folder. |
matcher | IPathMatcher | Path matcher to create local path. |
Результат | System |
public IgnoredEntity(IFolder folder, IPathMatcher matcher) {
if (folder == null) {
throw new ArgumentNullException("folder");
}
if (matcher == null) {
throw new ArgumentNullException("matcher");
}
if (!matcher.CanCreateLocalPath(folder)) {
throw new ArgumentException("Cannot create a local path for the given remote folder");
}
this.ObjectId = folder.Id;
this.LocalPath = matcher.CreateLocalPath(folder);
}
IgnoredEntity::IgnoredEntity ( IDocument doc, IPathMatcher matcher ) : System |