} // List of media to play. /// <summary> /// Constructor using the invoking page and a single media. /// </summary> /// <param name="fromPage">The page that created this object.</param> /// <param name="media">The media to play.</param> public PlayMediasArgs(Page fromPage, NBMedia media) : this(fromPage, new List <NBMedia>() { media }) { }
} // The target media to delete. /// <summary> /// A very simple contructor for DeleteMediaArgs. You just need to supply the target media to store it for use later. /// </summary> /// <param name="media"></param> public DeleteMediaArgs(NBMedia media) { TargetMedia = media; }