示例#1
0
文件: FormsApp.cs 项目: weeble/ohos
 public void Start(IAppContext aAppContext)
 {
     iXapp = new FormsApp(aAppContext.Services.UserList, Path.Combine(aAppContext.StaticPath, "http"));
     aAppContext.PublishXapp("forms", iXapp);
     aAppContext.Device.SetAttribute("Upnp.PresentationUrl", ":12921/forms/"); // TODO: Remove need for hard-coded port.
 }