示例#1
0
        public void Init()
        {
            var appService = new MetaPackAppService();

            ShServiceContainer.Instance.AppMetadataService = appService;

            appService.InitAppServices();
        }
示例#2
0
        static void Main(string[] args)
        {
            // tmp fix
            DeleteRelativeAppFile("Microsoft.SharePoint.Client.dll");
            DeleteRelativeAppFile("Microsoft.SharePoint.Client.Runtime.dll");

            var appService = new MetaPackAppService();

            if (args != null)
            {
                appService.Args = args.ToList();
            }

            ShServiceContainer.Instance.AppMetadataService = appService;

            appService.Run();
        }