//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:2.0.50727.4952 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace CSharpTest.Net.RpcLibrary { using System; /// /// A strongly-typed resource class, for looking up localized strings, etc. /// // This partial class was auto-generated by the StronglyTypedResourceBuilder // partial class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal partial class Resources { private static global::System.Resources.ResourceManager resourceMan; private static global::System.Globalization.CultureInfo resourceCulture; [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } /// /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CSharpTest.Net.RpcLibrary.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { get { return resourceCulture; } set { resourceCulture = value; } } /// /// Returns the raw exception strings. /// [global::System.Diagnostics.DebuggerStepThroughAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("CSharpTest.Net.Generators", "1.10.1124.356")] public static partial class ExceptionStrings { /// /// Unspecified rpc error /// public static string RpcException { get { return ResourceManager.GetString(@"RpcException", resourceCulture); } } /// /// {0} /// public static string RpcException_String_message_ { get { return ResourceManager.GetString(@"RpcException(String message)", resourceCulture); } } } } /// /// Exception class: RpcException : System.ComponentModel.Win32Exception /// Unspecified rpc error /// [global::System.SerializableAttribute()] [global::System.Diagnostics.DebuggerStepThroughAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("CSharpTest.Net.Generators", "1.10.1124.356")] public partial class RpcException : System.ComponentModel.Win32Exception { /// /// Serialization constructor /// protected RpcException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// /// Unspecified rpc error /// public RpcException() : base(global::CSharpTest.Net.RpcLibrary.Resources.ExceptionStrings.RpcException) { } /// /// Unspecified rpc error /// public RpcException(Exception innerException) : base(global::CSharpTest.Net.RpcLibrary.Resources.ExceptionStrings.RpcException, innerException) { } /// /// if(condition == false) throws Unspecified rpc error /// public static void Assert(bool condition) { if (!condition) throw new RpcException(); } /// /// {0} /// public RpcException(String message) : base(String.Format(global::CSharpTest.Net.RpcLibrary.Resources.ExceptionStrings.RpcException_String_message_, message)) { } /// /// {0} /// public RpcException(String message, Exception innerException) : base(String.Format(global::CSharpTest.Net.RpcLibrary.Resources.ExceptionStrings.RpcException_String_message_, message), innerException) { } /// /// if(condition == false) throws {0} /// public static void Assert(bool condition, String message) { if (!condition) throw new RpcException(message); } } }