コード例 #1
0
        /// <summary>
        /// Converts an enumeration into a description string for display to a user
        /// </summary>
        /// <param name="oPlaylistFormat">
        /// An <see cref="OggPlaylistFormat"/> enumeration to interpret
        /// </param>
        /// <returns>
        /// A <see cref="System.String"/> containing the description
        /// </returns>
        static public string GetEnumString(OggPlaylistFormat oPlaylistFormat)
        {
            switch (oPlaylistFormat)
            {
            case OggPlaylistFormat.M3U: return("M3U");

            case OggPlaylistFormat.PLS: return("PLS");

            default: return("Unknown Playlist Format Value");
            }
        }
コード例 #2
0
 public static bool WriteFile(string Filename, OggPlaylistFormat Format, OggPlaylist Playlist)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
 public static OggPlaylist ReadFile(string Filename, OggPlaylistFormat Format)
 {
     throw new NotImplementedException();
 }
コード例 #4
0
 public static OggPlaylist ReadFile(string Filename, OggPlaylistFormat Format)
 {
     throw new NotImplementedException();
 }
コード例 #5
0
 public static bool WriteFile(string Filename, OggPlaylistFormat Format, OggPlaylist Playlist)
 {
     throw new NotImplementedException();
 }
コード例 #6
0
ファイル: MiscStuff.cs プロジェクト: CloneDeath/DragonOgg
 /// <summary>
 /// Converts an enumeration into a description string for display to a user
 /// </summary>
 /// <param name="oPlaylistFormat">
 /// An <see cref="OggPlaylistFormat"/> enumeration to interpret
 /// </param>
 /// <returns>
 /// A <see cref="System.String"/> containing the description
 /// </returns>
 public static string GetEnumString(OggPlaylistFormat oPlaylistFormat)
 {
     switch (oPlaylistFormat)
     {
     case OggPlaylistFormat.M3U: return "M3U";
     case OggPlaylistFormat.PLS: return "PLS";
     default: return "Unknown Playlist Format Value";
     }
 }