Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="authenticator"></param>
        /// <param name="hasCommentary"></param>
        /// <param name="hasContext"></param>
        public SefariaClient(IAuthentication authenticator, bool hasCommentary, bool hasContext)
        {
            HasCommentary  = hasCommentary;
            HasContext     = hasContext;
            _authenticator = authenticator;

            Texts = new TextClient(authenticator, HasCommentary, HasContext);
            Index = new IndexClient(authenticator);
            Links = new LinksClient(authenticator);
        }
Exemplo n.º 2
0
		/// <summary>
		/// 
		/// </summary>
		/// <param name="authenticator"></param>
		/// <param name="hasCommentary"></param>
		/// <param name="hasContext"></param>
		public SefariaClient(IAuthentication authenticator, bool hasCommentary, bool hasContext)
		{
			HasCommentary = hasCommentary;
			HasContext = hasContext;
			_authenticator = authenticator;

			Texts = new TextClient(authenticator, HasCommentary, HasContext);
			Index = new IndexClient(authenticator);
			Links = new LinksClient(authenticator);
		}