} // 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
} // end GetTitle #endregion #region GetOther public string GetOther(PowerFile powerFile, string sOtherText) { return(sOtherText); } // end GetOther
} // end ChooseRenamingMethod #endregion #region GetDatePictureTaken public string GetDatePictureTaken(PowerFile powerFile, string sOtherText) { return(""); //powerFile.DatePictureTaken); } // end GetDatePictureTaken
} // end GetDatePictureTaken #endregion #region GetTitle public string GetTitle(PowerFile powerFile, string sOtherText) { return(powerFile.Title); } // end GetTitle
} // end Remove public void Remove(PowerFile powerFile) { List.Remove(powerFile); } // end Remove