CmisSync.Lib.Config.Config.GetRepoInfo C# (CSharp) Method

GetRepoInfo() public method

Gets the configured folder with the given name or null if no folder with this name exists.
public GetRepoInfo ( string displayName ) : RepoInfo
displayName string The name of the repoInfo Name.
return RepoInfo
        public RepoInfo GetRepoInfo(string displayName) {
            foreach (RepoInfo repo in this.Folders) {
                if (repo.DisplayName.Equals(displayName)) {
                    return repo;
                }
            }

            return null;
        }