Example #1
0
        ArtistReleaseType(Enum enumeration, ReleaseArtistType artistType)
        {
            StringBuilder builder = new StringBuilder();

            Format(builder, enumeration, artistType);
            str = builder.ToString();
        }
Example #2
0
        public ArtistReleaseType(ReleaseType type, ReleaseStatus status, ReleaseArtistType artistType)
        {
            StringBuilder builder = new StringBuilder();

            Format(builder, type, artistType);
            builder.Append('+');
            Format(builder, status, artistType);
            str = builder.ToString();
        }
Example #3
0
 static void Format (StringBuilder builder, Enum enumeration, ReleaseArtistType artistType)
 {
     builder.Append (artistType == ReleaseArtistType.VariousArtists ? "va-" : "sa-");
     Utils.EnumToString (builder, enumeration.ToString ());
 }
Example #4
0
 ArtistReleaseType (Enum enumeration, ReleaseArtistType artistType)
 {
     StringBuilder builder = new StringBuilder ();
     Format (builder, enumeration, artistType);
     str = builder.ToString ();
 }
Example #5
0
 public ArtistReleaseType (ReleaseType type, ReleaseStatus status, ReleaseArtistType artistType)
 {
     StringBuilder builder = new StringBuilder ();
     Format (builder, type, artistType);
     builder.Append ('+');
     Format (builder, status, artistType);
     str = builder.ToString ();
 }
Example #6
0
 public ArtistReleaseType (ReleaseStatus status, ReleaseArtistType artistType) : this ((Enum)status, artistType)
 {
 }
Example #7
0
 public ArtistReleaseType (ReleaseType type, ReleaseArtistType artistType) : this ((Enum)type, artistType)
 {
 }
Example #8
0
 static void Format(StringBuilder builder, Enum enumeration, ReleaseArtistType artistType)
 {
     builder.Append(artistType == ReleaseArtistType.VariousArtists ? "va-" : "sa-");
     Utils.EnumToString(builder, enumeration.ToString());
 }
Example #9
0
 public ArtistReleaseType(ReleaseStatus status, ReleaseArtistType artistType) : this((Enum)status, artistType)
 {
 }
Example #10
0
 public ArtistReleaseType(ReleaseType type, ReleaseArtistType artistType) : this((Enum)type, artistType)
 {
 }