Thinkpower.BindingIOS.Alipay 2.2.1.1-pre

// 版本号码:前3码是对应原生SDK版号,后1码是Nuget上传版号
public override void ViewDidLoad()
{
   base.ViewDidLoad();

   var btn1 = new UIButton()
   {
BackgroundColor = new UIColor(0,0,255,255),
       Frame = new CoreGraphics.CGRect(50, 50, 200, 100)
   };
btn1.SetTitle ("Order", UIControlState.Normal);
   btn1.TouchUpInside += (sender, e) =>
   {
       var orderStr = OrderHelper.OrderStr("id", "id", "20150525-000001",
           "Xamarin中文书", "Visual C#与Xamarin跨平台行动App开发实战",
           "0.01",
           "http://notify.java.jpxx.org/index.jsp"
       );
       var PrivateKey = "PrivateKey";
       var schemeStr = OrderHelper.SchemeStr(orderStr, PrivateKey);
       AlipaySDK.DefaultService().PayOrder(orderStr, schemeStr, completionBlock);
   };
   this.View.AddSubview(btn1);
}
Action<NSDictionary> completionBlock = new Action<NSDictionary>((result) =>
{
   new UIAlertView("title", result.ToString(), null, "ok", null).Show();
});
//(代码于正式版时公开)

This is a prerelease version of Thinkpower.BindingIOS.Alipay.
Install-Package Thinkpower.BindingIOS.Alipay -Version 2.2.1.1-pre
dotnet add package Thinkpower.BindingIOS.Alipay --version 2.2.1.1-pre
<PackageReference Include="Thinkpower.BindingIOS.Alipay" Version="2.2.1.1-pre" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Thinkpower.BindingIOS.Alipay --version 2.2.1.1-pre
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.2.1.1-pre 659 5/25/2015