Пример #1
0
        //---------------------------------------------------------------------------------------------------------------------

        public static new WpsApplication FromIdentifier(IfyContext context, string identifier)
        {
            WpsApplication result = new WpsApplication(context);

            result.Identifier = identifier;
            result.Load();
            return(result);
        }
Пример #2
0
        //---------------------------------------------------------------------------------------------------------------------

        /// <summary>Creates a new WpsApplication instance representing the application with the specified ID.</summary>

        /*!
         * /// <param name="context">The execution environment context.</param>
         * /// <param name="id">the application ID</param>
         * /// <returns>the created Application object</returns>
         */
        public static new WpsApplication FromId(IfyContext context, int id)
        {
            WpsApplication result = new WpsApplication(context);

            result.Id = id;
            result.Load();
            return(result);
        }