/// <summary></summary> /// <param name="sp"></param> /// <param name="name"></param> public PpsApplication(IServiceProvider sp, string name) : base(sp, name) { initializationProgress = new SimpleConfigItemProperty <string>(this, "ppsn_init_progress", "Initialization", "Misc", "Show the current state of the initialization of the node.", null, "Pending"); this.databaseLibrary = new PpsDatabaseLibrary(this); this.objectsLibrary = new PpsObjectsLibrary(this); this.reportProvider = new PpsServerReportProvider(this); // register shortcut for text LuaType.RegisterTypeAlias("text", typeof(PpsFormattedStringValue)); LuaType.RegisterTypeAlias("blob", typeof(byte[])); LuaType.RegisterTypeAlias("geography", typeof(Microsoft.SqlServer.Types.SqlGeography)); PublishItem(clientApplicationInfos = new DEList <PpsClientApplicationInfo>(this, "tw_client_infos", "Client applications")); InitUser(); } // ctor