1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-10 03:25:41 +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> /// <summary>
/// Looks up a localized string similar to {{0}} does not inherit {typeof(Attribute)}. /// Looks up a localized string similar to {{0}} does not inherit {typeof(Attribute)}.
/// </summary> /// </summary>
@ -97,7 +115,7 @@ namespace X10D {
} }
/// <summary> /// <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> /// </summary>
internal static string TypeIsNotClass { internal static string TypeIsNotClass {
get { get {
@ -106,7 +124,7 @@ namespace X10D {
} }
/// <summary> /// <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> /// </summary>
internal static string TypeIsNotInterface { internal static string TypeIsNotInterface {
get { get {

View File

@ -24,10 +24,10 @@
</value> </value>
</resheader> </resheader>
<data name="TypeIsNotClass" xml:space="preserve"> <data name="TypeIsNotClass" xml:space="preserve">
<value>{{0}} is not a class</value> <value>{{0}} is not a class.</value>
</data> </data>
<data name="TypeIsNotInterface" xml:space="preserve"> <data name="TypeIsNotInterface" xml:space="preserve">
<value>{{0}} is not an interface</value> <value>{{0}} is not an interface.</value>
</data> </data>
<data name="TypeDoesNotInheritAttribute" xml:space="preserve"> <data name="TypeDoesNotInheritAttribute" xml:space="preserve">
<value>{{0}} does not inherit {typeof(Attribute)}</value> <value>{{0}} does not inherit {typeof(Attribute)}</value>
@ -41,4 +41,10 @@
<data name="LengthMustBePositiveValue" xml:space="preserve"> <data name="LengthMustBePositiveValue" xml:space="preserve">
<value>Length must be a positive value.</value> <value>Length must be a positive value.</value>
</data> </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> </root>