public static OKMetadataRequest Get(string url, OKRequestHandler <OKMetadataResponse> handler)
        {
            OKMetadataRequest request = new OKMetadataRequest(url);

            request.Get(handler);
            return(request);
        }
예제 #2
0
 protected void Get(OKRequestHandler<OKMetadataResponse> handler)
 {
     _didFinish = handler;
     SynchronizationContext c = OKCtx.Ctx;
     if (c == null)
         DoGet(this);
     else
         c.Post(DoGet, this);
 }
        protected void Get(OKRequestHandler <OKMetadataResponse> handler)
        {
            _didFinish = handler;
            SynchronizationContext c = OKCtx.Ctx;

            if (c == null)
            {
                DoGet(this);
            }
            else
            {
                c.Post(DoGet, this);
            }
        }
예제 #4
0
 public void Get(OKRequestHandler<OKGhostScoresResponse> handler)
 {
     _didFinish = handler;
     OKFacebookUtilities.GetFacebookFriendsList(FriendsListDidLoad);   // No request handle for this.
 }
예제 #5
0
 public static OKMetadataRequest Get(string url, OKRequestHandler<OKMetadataResponse> handler)
 {
     OKMetadataRequest request = new OKMetadataRequest(url);
     request.Get(handler);
     return request;
 }
예제 #6
0
 public void Get(OKRequestHandler <OKGhostScoresResponse> handler)
 {
     _didFinish = handler;
     OKFacebookUtilities.GetFacebookFriendsList(FriendsListDidLoad);               // No request handle for this.
 }