1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-22 18:58:47 +00:00

(#28) (#29) Add missing exception resources

This commit is contained in:
Oliver Booth 2021-03-03 14:50:48 +00:00
parent 99fd511714
commit 1ca85cc3cd
2 changed files with 28 additions and 4 deletions

View File

@ -87,6 +87,24 @@ namespace X10D {
}
}
/// <summary>
/// Looks up a localized string similar to The stream does not support reading..
/// </summary>
internal static string StreamDoesNotSupportReading {
get {
return ResourceManager.GetString("StreamDoesNotSupportReading", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The stream does not support writing..
/// </summary>
internal static string StreamDoesNotSupportWriting {
get {
return ResourceManager.GetString("StreamDoesNotSupportWriting", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to {{0}} does not inherit {typeof(Attribute)}.
/// </summary>
@ -97,7 +115,7 @@ namespace X10D {
}
/// <summary>
/// Looks up a localized string similar to {{0}} is not a class.
/// Looks up a localized string similar to {{0}} is not a class..
/// </summary>
internal static string TypeIsNotClass {
get {
@ -106,7 +124,7 @@ namespace X10D {
}
/// <summary>
/// Looks up a localized string similar to {{0}} is not an interface.
/// Looks up a localized string similar to {{0}} is not an interface..
/// </summary>
internal static string TypeIsNotInterface {
get {

View File

@ -24,10 +24,10 @@
</value>
</resheader>
<data name="TypeIsNotClass" xml:space="preserve">
<value>{{0}} is not a class</value>
<value>{{0}} is not a class.</value>
</data>
<data name="TypeIsNotInterface" xml:space="preserve">
<value>{{0}} is not an interface</value>
<value>{{0}} is not an interface.</value>
</data>
<data name="TypeDoesNotInheritAttribute" xml:space="preserve">
<value>{{0}} does not inherit {typeof(Attribute)}</value>
@ -41,4 +41,10 @@
<data name="LengthMustBePositiveValue" xml:space="preserve">
<value>Length must be a positive value.</value>
</data>
<data name="StreamDoesNotSupportReading" xml:space="preserve">
<value>The stream does not support reading.</value>
</data>
<data name="StreamDoesNotSupportWriting" xml:space="preserve">
<value>The stream does not support writing.</value>
</data>
</root>