示例#1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="YoutubeApi"/> class.
        /// </summary>
        /// <param name="config">The config.</param>
        public YoutubeApi(IYoutubeConfig config)
        {
            Config = config;

            User = new UserApi(this);
            Auth = new AutenticationApi(this);
        }
示例#2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="YoutubeApi"/> class.
        /// </summary>
        /// <param name="config">The config.</param>
        public YoutubeApi(IYoutubeConfig config)
        {
            Config = config;

            User = new UserApi(this);
            Auth = new AutenticationApi(this);
        }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestWrapper"/> class.
 /// </summary>
 /// <param name="config">The config.</param>
 public RestWrapper(IYoutubeConfig config)
 {
     this.config = config;
 }