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

            request.Get(handler);
            return(request);
        }
 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);
            }
        }
 public void Get(OKRequestHandler<OKGhostScoresResponse> handler)
 {
     _didFinish = handler;
     OKFacebookUtilities.GetFacebookFriendsList(FriendsListDidLoad);   // No request handle for this.
 }
 public static OKMetadataRequest Get(string url, OKRequestHandler<OKMetadataResponse> handler)
 {
     OKMetadataRequest request = new OKMetadataRequest(url);
     request.Get(handler);
     return request;
 }
Example #6
0
 public void Get(OKRequestHandler <OKGhostScoresResponse> handler)
 {
     _didFinish = handler;
     OKFacebookUtilities.GetFacebookFriendsList(FriendsListDidLoad);               // No request handle for this.
 }