CmisSync.Lib.SelectiveIgnore.IgnoredEntity.IgnoredEntity C# (CSharp) Метод

IgnoredEntity() публичный Метод

Initializes a new instance of the CmisSync.Lib.SelectiveIgnore.IgnoredEntity class.
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);
        }

Same methods

IgnoredEntity::IgnoredEntity ( IDocument doc, IPathMatcher matcher ) : System
IgnoredEntity