Пример #1
0
        } // end Add

        /// <summary>
        /// Adds a new PowerFile to the collection.
        /// </summary>
        /// <param name="powerFile">PowerFile to be added to the collection.</param>
        /// <returns>Returns the index to which the element was added.</returns>
        public int Add(PowerFile powerFile)
        {
            return(List.Add(powerFile));
        } // end Add
Пример #2
0
        } // end GetTitle

        #endregion

        #region GetOther

        public string GetOther(PowerFile powerFile, string sOtherText)
        {
            return(sOtherText);
        } // end GetOther
Пример #3
0
        }     // end ChooseRenamingMethod

        #endregion

        #region GetDatePictureTaken

        public string GetDatePictureTaken(PowerFile powerFile, string sOtherText)
        {
            return(""); //powerFile.DatePictureTaken);
        } // end GetDatePictureTaken
Пример #4
0
        } // end GetDatePictureTaken

        #endregion

        #region GetTitle

        public string GetTitle(PowerFile powerFile, string sOtherText)
        {
            return(powerFile.Title);
        } // end GetTitle
Пример #5
0
        } // end Remove

        public void Remove(PowerFile powerFile)
        {
            List.Remove(powerFile);
        } // end Remove