예제 #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);
        }
예제 #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);
		}