public SCServerRequestCreateShortLink(SCSession session, SCShortLinkItem item) : base(ActionUrls.GetActionUrl(ActionUrls.Create), session) { Dictionary <string, string> postData = new Dictionary <string, string>(); try { postData.Add(KeyValues.DEEP_LINK_ITEM_KEY, item.ToJson().ToString()); } catch (Exception e) { } base.PostData = postData; }
public SCServerRequestCreateShortLink(SCSession session, SCShortLinkItem item) : base(ActionUrls.GetActionUrl(ActionUrls.Create), session) { Dictionary<string, string> postData = new Dictionary<string, string>(); try { postData.Add(KeyValues.DEEP_LINK_ITEM_KEY, item.ToJson().ToString()); } catch (Exception e) { } base.PostData = postData; }
internal void CreateShortLink(SCShortLinkItem item, ISCShortLinkCreateListener callback) { throw new NotImplementedException(); //PostTask postTask = new PostTask(); //postTask.Execute(new SCServerRequestCreateShortLink(this.scSession, item, callback)); }
public SCServerRequestCreateShortLink(SCSession session, SCShortLinkItem item, ISCShortLinkCreateListener callback) : this(session, item) { this.mCallback = callback; }