add constructors

This commit is contained in:
stubbfel
2013-10-23 16:04:07 +02:00
parent 0cdf74b417
commit 1d85089e85
4 changed files with 23 additions and 0 deletions

2
.gitignore vendored
View File

@@ -1,3 +1,5 @@
src/ndefpclib/obj/
src/ndefpclib/bin/Debug/ndefpclib.dll
src/ndefpclib/bin/Debug/ndefpclib.pdb
src/ndefpclib/bin/Release/ndefpclib.dll
src/ndefpclib/bin/Release/ndefpclib.pdb

View File

@@ -19,5 +19,12 @@ namespace ndefpclib.message.Text
: base(content, TextEncoding.UTF16, lang)
{
}
/// <summary> Initializes a new instance of the TextMessageUTF16 class. </summary>
/// <remarks> Stubbfel, 23.10.2013. </remarks>
/// <param name="array"> The array. </param>
public TextMessageUTF16(byte[] array) : base(array)
{
}
}
}

View File

@@ -18,5 +18,12 @@ namespace ndefpclib.message.Text
: base(content, TextEncoding.UTF8, lang)
{
}
/// <summary> Initializes a new instance of the TextMessageUTF8 class. </summary>
/// <remarks> Stubbfel, 23.10.2013. </remarks>
/// <param name="array"> The array. </param>
public TextMessageUTF8(byte[] array) : base(array)
{
}
}
}

View File

@@ -19,5 +19,12 @@ namespace ndefpclib.message.Text
: base(content, new TextType(encoding,lang))
{
}
/// <summary> Initializes a new instance of the TextMessage class. </summary>
/// <remarks> Stubbfel, 23.10.2013. </remarks>
/// <param name="array"> The array. </param>
public TextMessage(byte[] array) : base(array)
{
}
}
}