Class Fx
Provides framework specific routines.
Inheritance
System.Object
Fx
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Amqp
Assembly: Amqp.Net.dll
Syntax
public static class Fx
Methods
Assert(Boolean, String)
Asserts a condition is true.
Declaration
[Conditional("DEBUG")]
public static void Assert(bool condition, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | condition | A boolean value indicating the condition. |
System.String | message | The error message if condition is not met. |
Format(String, Object[])
Formats a string from a format and an array of arguments.
Declaration
public static string Format(string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String | format | The format string. |
System.Object[] | args | The arguments. |
Returns
Type | Description |
---|---|
System.String |