Пример #1
0
        /// <summary>
        /// Selects the requested, or if not available the first, object of the specified type in the facade
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="self"></param>
        /// <param name="item">the object to select or null </param>
        /// <returns>selected object</returns>
        public static T SyncToFacade <T>(this GUIFacadeControl self, T item) where T : class
        {
            int i = 0;

            return(self.SyncToFacade <T>(item, out i));
        }