Ejemplo n.º 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
Ejemplo n.º 2
0
        } // end GetTitle

        #endregion

        #region GetOther

        public string GetOther(PowerFile powerFile, string sOtherText)
        {
            return(sOtherText);
        } // end GetOther
Ejemplo n.º 3
0
        }     // end ChooseRenamingMethod

        #endregion

        #region GetDatePictureTaken

        public string GetDatePictureTaken(PowerFile powerFile, string sOtherText)
        {
            return(powerFile.DatePictureTaken);
        } // end GetDatePictureTaken
Ejemplo n.º 4
0
        } // end GetDatePictureTaken

        #endregion

        #region GetTitle

        public string GetTitle(PowerFile powerFile, string sOtherText)
        {
            return(powerFile.Title);
        } // end GetTitle
Ejemplo n.º 5
0
        } // end Remove

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