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

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

Initializes a new instance of the CmisSync.Lib.SelectiveIgnore.IgnoredEntity class.
public IgnoredEntity ( IDocument doc, IPathMatcher matcher ) : System
doc IDocument Ignored document.
matcher IPathMatcher Path matcher to create local path.
Результат System
        public IgnoredEntity(IDocument doc, IPathMatcher matcher) {
            if (doc == null) {
                throw new ArgumentNullException("doc");
            }

            if (matcher == null) {
                throw new ArgumentNullException("matcher");
            }

            if (!matcher.CanCreateLocalPath(doc)) {
                throw new ArgumentException("Cannot create a local path for the given remote folder");
            }

            this.ObjectId = doc.Id;
            this.LocalPath = matcher.CreateLocalPath(doc);
        }
    }

Same methods

IgnoredEntity::IgnoredEntity ( IFolder folder, IPathMatcher matcher ) : System
IgnoredEntity