Esempio n. 1
0
        public static ApiPlace getApiPlaceClosedByZwClose(Type type, string close_by_index)
        {
            ApiPlace result = new ApiPlace(type);

            CPNetBlocks.getInstance()._assembleCloseHandleSubNet(result, close_by_index);
            return(result);
        }
Esempio n. 2
0
        /// <summary>
        /// Returns a new Place connected to handle-closing subCPN
        /// </summary>
        /// <param name="place_name">What name place should have</param>
        /// <param name="close_by_index">By what parameter place tokens should be closed e.g. FileHandle, SectionHandle, etc.</param>
        /// <returns></returns>
        public static Place getPlaceClosedByZwClose(string place_name, string close_by_index)
        {
            Place result = new Place(place_name);

            CPNetBlocks.getInstance()._assembleCloseHandleSubNet(result, close_by_index);
            return(result);
        }