Exemple #1
0
        /// <summary>
        /// Adds the Media to the spezified card.
        /// </summary>
        /// <param name="cardID">The card ID.</param>
        /// <param name="filename">The filename.</param>
        /// <param name="type">The type.</param>
        /// <param name="side">The side.</param>
        /// <param name="active">if set to <c>true</c> the file is active.</param>
        /// <param name="standard">if set to <c>true</c> the file is the default file.</param>
        /// <param name="example">if set to <c>true</c> the file is the example.</param>
        /// <remarks>Documented by Dev05, 2007-09-03</remarks>
        public void AddMedia(int cardID, string filename, EMedia type, Side side, bool active, bool standard, bool example)
        {
            ICard card = cards.Get(cardID);

            card.AddMedia(card.CreateMedia(type, filename, active, standard, example), side);
        }