Skip to content

Commit aac6b2f

Browse files
committed
Make methods SetUserTextAsString public, so that it can be used to Add User Frames from Applications using taglib-sharp
1 parent 333bdcb commit aac6b2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TaglibSharp/Id3v2/Tag.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ string GetUserTextAsString (string description)
10971097
/// TXXX frame</param>
10981098
/// <param name="text">String containing the Text field for the TXXX frame</param>
10991099
/// <param name="caseSensitive">case-sensitive search if true.</param>
1100-
void SetUserTextAsString (string description, string text, bool caseSensitive)
1100+
public void SetUserTextAsString (string description, string text, bool caseSensitive)
11011101
{
11021102
//Get the TXXX frame, create a new one if needed
11031103
var frame = UserTextInformationFrame.Get (this, description, DefaultEncoding, true, caseSensitive);
@@ -1117,7 +1117,7 @@ void SetUserTextAsString (string description, string text, bool caseSensitive)
11171117
/// <param name="description">String containing the Description field for the
11181118
/// TXXX frame</param>
11191119
/// <param name="text">String containing the Text field for the TXXX frame</param>
1120-
void SetUserTextAsString (string description, string text)
1120+
public void SetUserTextAsString (string description, string text)
11211121
{
11221122
SetUserTextAsString (description, text, true);
11231123
}

0 commit comments

Comments
 (0)