internal IndexProperties(IndexReader reader) { Revision = IndexProperty.GetRevision(reader); RepositoryName = IndexProperty.GetRepositoryName(reader); RepositoryLocalUri = IndexProperty.GetRepositoryLocalUri(reader); RepositoryExternalUri = IndexProperty.GetRepositoryExternalUri(reader); RepositoryCredentials = IndexProperty.GetRepositoryCredentials(reader); SingleRevision = IndexProperty.GetSingleRevision(reader); TotalCount = reader.MaxDoc(); }