Exemplo n.º 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);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="FacebookApi"/> class.
        /// </summary>
        /// <param name="config">The config.</param>
        public FacebookApi(IFacebookConfig config)
        {
            Config = config;

            Event = new EventApi(this);
            Auth  = new AutenticationApi(this);
        }