Beispiel #1
0
        /// <summary>
        ///     实例化微博操作类
        /// </summary>
        /// <param name="oauth">OAuth实例</param>
        public Client(OAuth oauth)
        {
            OAuth = oauth;
#if NET40
            API = new InterfaceSelector(this);
#else
            API = new Interface.EntityInterfaces(this);
#endif
        }
Beispiel #2
0
 /// <summary>
 /// 实例化微博操作类
 /// </summary>
 /// <param name="oauth">OAuth实例</param>
 public Client(OAuth oauth)
 {
     this.OAuth = oauth;
     #if NET40
     API = new Interface.InterfaceSelector(this);
     #else
     API = new Interface.EntityInterfaces(this);
     #endif
 }
 internal InterfaceSelector(Client client)
 {
     Dynamic = new DynamicInterfaces(client);
     Entity  = new EntityInterfaces(client);
 }
 internal InterfaceSelector(Client client)
 {
     Dynamic = new DynamicInterfaces(client);
     Entity = new EntityInterfaces(client);
 }