コード例 #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);
		}